• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate InvalidArgumentException: Attempted to convert object to JSON array (cache_results) src/XF/Mvc/Entity/Entity.php:766

Affected version
beta 3

Marcus

Well-known member
#1
stock beta 3, no addons
Code:
InvalidArgumentException: Attempted to convert object to JSON array (cache_results) src/XF/Mvc/Entity/Entity.php:766

#0 /XF/Mvc/Entity/Entity.php(617): XF\Mvc\Entity\Entity->_castValueToType(Object(XF\Mvc\Entity\ArrayCollection), 'cache_results', 65552, Array)
#1 /XF/Mvc/Entity/Entity.php(547): XF\Mvc\Entity\Entity->set('cache_results', Object(XF\Mvc\Entity\ArrayCollection))
#2 /XF/Service/MemberStat/Preparer.php(65): XF\Mvc\Entity\Entity->__set('cache_results', Object(XF\Mvc\Entity\ArrayCollection))
#3 /XF/Cron/MemberStats.php(19): XF\Service\MemberStat\Preparer->cache()
#4 [internal function]: XF\Cron\MemberStats::rebuildMemberStatsCache(Object(XF\Entity\CronEntry))
#5 /XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#6 /XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999988079071)
#7 /XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999988079071)
#8 /XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999988079071)
#9 job.php(15): XF\Job\Manager->runQueue(false, 8)
#10 {main}

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}