akhan
Active member
- Affected version
- 2.1.0
Error message:
InvalidArgumentException: Attempted to convert NULL to JSON array [first_post_reactions]
src/XF/Mvc/Entity/Entity.php:728
InvalidArgumentException: Attempted to convert NULL to JSON array [first_post_reactions]
src/XF/Mvc/Entity/Entity.php:728
Code:
#0 src/XF/Mvc/Entity/Entity.php(612): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'first_post_reac...', 65552, Array)
#1 src/XF/Mvc/Entity/Entity.php(542): XF\Mvc\Entity\Entity->set('first_post_reac...', NULL)
#2 src/XF/Entity/Thread.php(610): XF\Mvc\Entity\Entity->__set('first_post_reac...', NULL)
#3 src/XF/Entity/Thread.php(582): XF\Entity\Thread->rebuildFirstPostInfo()
#4 src/XF/Service/Post/Mover.php(202): XF\Entity\Thread->rebuildCounters()
#5 src/XF/Service/Post/Mover.php(144): XF\Service\Post\Mover->updateTargetData()
#6 src/XF/InlineMod/Post/Move.php(39): XF\Service\Post\Mover->move(Array)
#7 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\Post\Move->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#8 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#9 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#11 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#12 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#14 src/XF.php(389): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}