[XF2] Server error log on XenForo Redirects for vBulletin

Joined: March 15th, 2014, 7:58 pm

February 1st, 2018, 10:03 pm #1

@Howdy @MoleDJ @jian I am getting error with enabling tapatalk in Xenforo official plugin: XenForo Redirects for vBulletin

Please let me fix this issue ASAP because we can not use Tapatalk without this fix.

Code: Select all

Server error log:

TypeError: Argument 2 passed to XF301VB\Mvc\Router::getVbulletin4RewriteMatch() must be an instance of XF\Http\Request, null given, called in /home/nadda/public_html/src/addons/XF301VB/Mvc/Router.php on line 72src/addons/XF301VB/Mvc/Router.php:152Generated by: NirjonFeb 2, 2018 at 3:43 AM
Stack trace

#0 src/addons/XF301VB/Mvc/Router.php(72): XF301VB\Mvc\Router->getVbulletin4RewriteMatch('threads', NULL)
#1 src/addons/Tapatalk/Listener/Hook.php(596): XF301VB\Mvc\Router->routeToController('threads/5561/')
#2 src/addons/Tapatalk/Listener/Hook.php(40): Tapatalk\Listener\Hook::getCurrentPageType(Object(ThemeHouse\UIX\XF\Template\Templater), Object(XF\Pub\App))
#3 [internal function]: Tapatalk\Listener\Hook::templateHook(Object(ThemeHouse\UIX\XF\Template\Templater), 'public', 'PAGE_CONTAINER', Array)
#4 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#5 src/XF/App.php(2350): XF\Extension->fire('templater_templ...', Array, 'public:PAGE_CON...')
#6 src/XF/Template/Templater.php(1228): XF\App->fire('templater_templ...', Array, 'public:PAGE_CON...')
#7 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(1724): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
 ["url"] => string(14) "/threads/5561/"
 ["referrer"] => string(65) "/forums/help-and-suggestions.14/page-13"
 ["_GET"] => array(0) {
 }
 ["_POST"] => array(0) {
 }
}

Code: Select all

TypeError: Argument 2 passed to XF301VB\Mvc\Router::getVbulletin4RewriteMatch() must be an instance of XF\Http\Request, null given, called in /home/nadda/public_html/src/addons/XF301VB/Mvc/Router.php on line 72 src/addons/XF301VB/Mvc/Router.php:152

Generated by: Unknown account Feb 2, 2018 at 3:24 AM

Stack trace

#0 src/addons/XF301VB/Mvc/Router.php(72): XF301VB\Mvc\Router->getVbulletin4RewriteMatch('forums', NULL)
#1 src/addons/Tapatalk/Listener/Hook.php(596): XF301VB\Mvc\Router->routeToController('forums/bollywoo...')
#2 src/addons/Tapatalk/Listener/Hook.php(40): Tapatalk\Listener\Hook::getCurrentPageType(Object(ThemeHouse\Reactions\XF\Template\Templater), Object(XF\Pub\App))
#3 [internal function]: Tapatalk\Listener\Hook::templateHook(Object(ThemeHouse\Reactions\XF\Template\Templater), 'public', 'PAGE_CONTAINER', Array)
#4 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#5 src/XF/App.php(2350): XF\Extension->fire('templater_templ...', Array, 'public:PAGE_CON...')
#6 src/XF/Template/Templater.php(1228): XF\App->fire('templater_templ...', Array, 'public:PAGE_CON...')
#7 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(1724): XF\Pub\App->renderPageHtml('\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
 ["url"] => string(28) "/forums/bollywood-musics.88/"
 ["referrer"] => bool(false)
 ["_GET"] => array(0) {
 }
 ["_POST"] => array(0) {
 }
}

Quote
Like
Share

Joined: May 11th, 2015, 4:49 am

February 2nd, 2018, 9:04 am #2

Nirjonadda wrote: @Howdy @MoleDJ @jian I am getting error with enabling tapatalk in Xenforo official plugin: XenForo Redirects for vBulletin

Please let me fix this issue ASAP because we can not use Tapatalk without this fix.

Code: Select all

Server error log:

TypeError: Argument 2 passed to XF301VB\Mvc\Router::getVbulletin4RewriteMatch() must be an instance of XF\Http\Request, null given, called in /home/nadda/public_html/src/addons/XF301VB/Mvc/Router.php on line 72src/addons/XF301VB/Mvc/Router.php:152Generated by: NirjonFeb 2, 2018 at 3:43 AM
Stack trace

#0 src/addons/XF301VB/Mvc/Router.php(72): XF301VB\Mvc\Router->getVbulletin4RewriteMatch('threads', NULL)
#1 src/addons/Tapatalk/Listener/Hook.php(596): XF301VB\Mvc\Router->routeToController('threads/5561/')
#2 src/addons/Tapatalk/Listener/Hook.php(40): Tapatalk\Listener\Hook::getCurrentPageType(Object(ThemeHouse\UIX\XF\Template\Templater), Object(XF\Pub\App))
#3 [internal function]: Tapatalk\Listener\Hook::templateHook(Object(ThemeHouse\UIX\XF\Template\Templater), 'public', 'PAGE_CONTAINER', Array)
#4 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#5 src/XF/App.php(2350): XF\Extension->fire('templater_templ...', Array, 'public:PAGE_CON...')
#6 src/XF/Template/Templater.php(1228): XF\App->fire('templater_templ...', Array, 'public:PAGE_CON...')
#7 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(1724): XF\Pub\App->renderPageHtml('\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
 ["url"] => string(14) "/threads/5561/"
 ["referrer"] => string(65) "/forums/help-and-suggestions.14/page-13"
 ["_GET"] => array(0) {
 }
 ["_POST"] => array(0) {
 }
}

Code: Select all

TypeError: Argument 2 passed to XF301VB\Mvc\Router::getVbulletin4RewriteMatch() must be an instance of XF\Http\Request, null given, called in /home/nadda/public_html/src/addons/XF301VB/Mvc/Router.php on line 72 src/addons/XF301VB/Mvc/Router.php:152

Generated by: Unknown account Feb 2, 2018 at 3:24 AM

Stack trace

#0 src/addons/XF301VB/Mvc/Router.php(72): XF301VB\Mvc\Router->getVbulletin4RewriteMatch('forums', NULL)
#1 src/addons/Tapatalk/Listener/Hook.php(596): XF301VB\Mvc\Router->routeToController('forums/bollywoo...')
#2 src/addons/Tapatalk/Listener/Hook.php(40): Tapatalk\Listener\Hook::getCurrentPageType(Object(ThemeHouse\Reactions\XF\Template\Templater), Object(XF\Pub\App))
#3 [internal function]: Tapatalk\Listener\Hook::templateHook(Object(ThemeHouse\Reactions\XF\Template\Templater), 'public', 'PAGE_CONTAINER', Array)
#4 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#5 src/XF/App.php(2350): XF\Extension->fire('templater_templ...', Array, 'public:PAGE_CON...')
#6 src/XF/Template/Templater.php(1228): XF\App->fire('templater_templ...', Array, 'public:PAGE_CON...')
#7 src/XF/Pub/App.php(449): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(1724): XF\Pub\App->renderPageHtml('\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(310): XF\App->renderPage('\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
 ["url"] => string(28) "/forums/bollywood-musics.88/"
 ["referrer"] => bool(false)
 ["_GET"] => array(0) {
 }
 ["_POST"] => array(0) {
 }
}

HI
Thank you for reporting this to us. A developer will look into it.
Quote
Like
Share

Joined: March 15th, 2014, 7:58 pm

February 4th, 2018, 9:08 am #3

@Howdy What going on? Do you have any fix update ?
Quote
Like
Share

Joined: March 15th, 2014, 7:58 pm

February 7th, 2018, 7:48 pm #4

@Howdy Still can not use tapatalk.
Quote
Like
Share

Joined: June 26th, 2017, 8:26 am

February 8th, 2018, 7:02 am #5

@Nirjonadda can you try tapatalk_xenforo-2.0_v1.0.1-fixbug208.zip

tapatalk_xenforo-2.0_v1.0.1-fixbug208.zip (606.73 KiB)
Quote
Like
Share

Joined: March 15th, 2014, 7:58 pm

February 8th, 2018, 10:56 am #6

jian wrote: @Nirjonadda can you try tapatalk_xenforo-2.0_v1.0.1-fixbug208.zip

tapatalk_xenforo-2.0_v1.0.1-fixbug208.zip

@jian Yes fixed this issue, Thanks
Quote
Like
Share