Support Trying to move a thread and getting an error

SyTry

Administrator
Staff member
Administrator
Moderator
Licensed
Joined
Jul 8, 2019
Messages
414
Reaction score
204
Reposting this from @sdev at xenForo :
trying to move a thread and getting this:
InvalidArgumentException: Attempted to convert NULL to JSON array [xs_seo] src/XF/Mvc/Entity/Entity.php:759



Stack Trace


#0 src/XF/Mvc/Entity/Entity.php(637): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'xs_seo', 65552, Array)

#1 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set('xs_seo', NULL, Array)

#2 src/XF/Repository/ThreadRedirect.php(24): XF\Mvc\Entity\Entity->bulkSet(Array)

#3 src/XF/Service/Thread/Mover.php(106): XF\Repository\ThreadRedirect->createThreadRedirectionDouble(Object(XenSoluce\SEOOptimization\XF\Entity\Thread), Object(XF\Entity\Forum), 0)

#4 src/XF/Pub/Controller/Thread.php(1223): XF\Service\Thread\Mover->move(Object(XF\Entity\Forum))

#5 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionMove(Object(XF\Mvc\ParameterBag))

#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Move', Object(XF\Mvc\RouteMatch), Object(XenSoluce\SEOOptimization\XF\Pub\Controller\Thread), NULL)

#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenSoluce\SEOOptimization\XF\Pub\Controller\Thread), NULL)

#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))

#9 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()

#10 src/XF.php(488): XF\App->run()

#11 index.php(20): XF::runApp('XF\\Pub\\App')

#12 {main}


-------------


Previous InvalidArgumentException: Attempted to convert NULL to JSON array - src/XF/Mvc/Entity/ValueFormatter.php:163

#0 src/XF/Mvc/Entity/Entity.php(755): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 65552, Array)

#1 src/XF/Mvc/Entity/Entity.php(637): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'xs_seo', 65552, Array)

#2 src/XF/Mvc/Entity/Entity.php(739): XF\Mvc\Entity\Entity->set('xs_seo', NULL, Array)

#3 src/XF/Repository/ThreadRedirect.php(24): XF\Mvc\Entity\Entity->bulkSet(Array)

#4 src/XF/Service/Thread/Mover.php(106): XF\Repository\ThreadRedirect->createThreadRedirectionDouble(Object(XenSoluce\SEOOptimization\XF\Entity\Thread), Object(XF\Entity\Forum), 0)

#5 src/XF/Pub/Controller/Thread.php(1223): XF\Service\Thread\Mover->move(Object(XF\Entity\Forum))

#6 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionMove(Object(XF\Mvc\ParameterBag))

#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Move', Object(XF\Mvc\RouteMatch), Object(XenSoluce\SEOOptimization\XF\Pub\Controller\Thread), NULL)

#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenSoluce\SEOOptimization\XF\Pub\Controller\Thread), NULL)

#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))

#10 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()

#11 src/XF.php(488): XF\App->run()

#12 index.php(20): XF::runApp('XF\\Pub\\App')

#13 {main}
 
Top Bottom