Abraham54
Well-known member
- Affected version
- XenForo 2.1.0 Beta 2
My testforum with XenForo 2.1.0 Beta 2 was an upgrade of freshly installed 2.0.11 in which I imported my headforum.
When finished a and no faults were reported I upgraded to 2.1.10.
This proces was fast and no problems were reported.
Today I wanted to rebuild the caches.
Everything went well except Rebuild threads - this produced a fault:
When finished a and no faults were reported I upgraded to 2.1.10.
This proces was fast and no problems were reported.
Today I wanted to rebuild the caches.
Everything went well except Rebuild threads - this produced a fault:
Serverfouten-logboek
InvalidArgumentException: Attempted to convert NULL to JSON array [first_post_reactions] src/XF/Mvc/Entity/Entity.php:728
Gegenereerd Door: Abraham54 25 nov 2018 om 12:42
Stack Trace
#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/Job/Thread.php(36): XF\Entity\Thread->rebuildCounters()
#5 src/XF/Job/AbstractRebuildJob.php(47): XF\Job\Thread->rebuildById(1)
#6 src/XF/Job/Manager.php(253): XF\Job\AbstractRebuildJob->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#9 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#10 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#15 src/XF.php(389): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
-------------
Previous InvalidArgumentException: Attempted to convert NULL to JSON array - src/XF/Mvc/Entity/ValueFormatter.php:161
#0 src/XF/Mvc/Entity/Entity.php(724): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 65552, Array)
#1 src/XF/Mvc/Entity/Entity.php(612): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'first_post_reac...', 65552, Array)
#2 src/XF/Mvc/Entity/Entity.php(542): XF\Mvc\Entity\Entity->set('first_post_reac...', NULL)
#3 src/XF/Entity/Thread.php(610): XF\Mvc\Entity\Entity->__set('first_post_reac...', NULL)
#4 src/XF/Entity/Thread.php(582): XF\Entity\Thread->rebuildFirstPostInfo()
#5 src/XF/Job/Thread.php(36): XF\Entity\Thread->rebuildCounters()
#6 src/XF/Job/AbstractRebuildJob.php(47): XF\Job\Thread->rebuildById(1)
#7 src/XF/Job/Manager.php(253): XF\Job\AbstractRebuildJob->run(G)
#8 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#9 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#10 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#11 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#14 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#16 src/XF.php(389): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Aanvraagstatus
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(124) "https://piependecomputerforum.eu/ad...xfRedirect=/admin.php?tools/rebuild&success=1"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(66) "https://piependecomputerforum.eu/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "****"
["only_ids"] => string(2) "36"
}
}
InvalidArgumentException: Attempted to convert NULL to JSON array [first_post_reactions] src/XF/Mvc/Entity/Entity.php:728
Gegenereerd Door: Abraham54 25 nov 2018 om 12:42
Stack Trace
#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/Job/Thread.php(36): XF\Entity\Thread->rebuildCounters()
#5 src/XF/Job/AbstractRebuildJob.php(47): XF\Job\Thread->rebuildById(1)
#6 src/XF/Job/Manager.php(253): XF\Job\AbstractRebuildJob->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#9 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#10 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#15 src/XF.php(389): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
-------------
Previous InvalidArgumentException: Attempted to convert NULL to JSON array - src/XF/Mvc/Entity/ValueFormatter.php:161
#0 src/XF/Mvc/Entity/Entity.php(724): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 65552, Array)
#1 src/XF/Mvc/Entity/Entity.php(612): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'first_post_reac...', 65552, Array)
#2 src/XF/Mvc/Entity/Entity.php(542): XF\Mvc\Entity\Entity->set('first_post_reac...', NULL)
#3 src/XF/Entity/Thread.php(610): XF\Mvc\Entity\Entity->__set('first_post_reac...', NULL)
#4 src/XF/Entity/Thread.php(582): XF\Entity\Thread->rebuildFirstPostInfo()
#5 src/XF/Job/Thread.php(36): XF\Entity\Thread->rebuildCounters()
#6 src/XF/Job/AbstractRebuildJob.php(47): XF\Job\Thread->rebuildById(1)
#7 src/XF/Job/Manager.php(253): XF\Job\AbstractRebuildJob->run(G)
#8 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#9 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#10 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#11 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#14 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2155): XF\Mvc\Dispatcher->run()
#16 src/XF.php(389): XF\App->run()
#17 admin.php(13): XF::runApp('XF\\Admin\\App')
#18 {main}
Aanvraagstatus
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(124) "https://piependecomputerforum.eu/ad...xfRedirect=/admin.php?tools/rebuild&success=1"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(66) "https://piependecomputerforum.eu/admin.php?tools/rebuild&success=1"
["_xfToken"] => string(8) "****"
["only_ids"] => string(2) "36"
}
}