Mr Lucky
Well-known member
- Affected version
- 2.0.2
Apologies if this is considered cross posting. I posted this in the addon discussion, but had no response there and as it's a serious bug and associated with an official XF addon that doesn't have its own bug reporting forum, I am posting here. Hope that's OK, sorry if not...
When I disable the redirect addon I can move a post from one thread to another. If the addon is enabled, I get this:
When I disable the redirect addon I can move a post from one thread to another. If the addon is enabled, I get this:
Code:
ypeError: Argument 2 passed to XF301VB\Mvc\Router::getVbulletin4RewriteMatch() must be an instance of XF\Http\Request, null given, called in /home/caf/public_html/src/addons/XF301VB/Mvc/Router.php on line 72 src/addons/XF301VB/Mvc/Router.php:152
Generated by: Pete Thomas Feb 28, 2018 at 10:17 AM
Stack trace
#0 src/addons/XF301VB/Mvc/Router.php(72): XF301VB\Mvc\Router->getVbulletin4RewriteMatch('threads', NULL)
#1 src/XF/Repository/Thread.php(328): XF301VB\Mvc\Router->routeToController('threads/drum-be...')
#2 src/XF/InlineMod/Post/AbstractMoveCopy.php(34): XF\Repository\Thread->getThreadFromUrl('https://cafesax...', NULL, NULL)
#3 src/XF/InlineMod/AbstractAction.php(57): XF\InlineMod\Post\AbstractMoveCopy->canApplyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array, NULL)
#4 src/XF/Pub/Controller/InlineMod.php(111): XF\InlineMod\AbstractAction->canApply(Object(XF\Mvc\Entity\ArrayCollection), Array, NULL)
#5 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(12) "/inline-mod/"
["referrer"] => string(51) "https://cafesaxophone.com/threads/drum-beats.24081/"
["_GET"] => array(0) {
}
["_POST"] => array(11) {
["thread_type"] => string(8) "existing"
["existing_url"] => string(51) "https://cafesaxophone.com/threads/drum-beats.23986/"
["ids"] => array(1) {
[0] => string(6) "355777"
}
["type"] => string(4) "post"
["action"] => string(4) "move"
["confirmed"] => string(1) "1"
["_xfRedirect"] => string(51) "https://cafesaxophone.com/threads/drum-beats.24081/"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(26) "/threads/drum-beats.24081/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Delete