XF 2.2 Server error on user cache rebuild

Getting this error nightly, not sure where to start. Newly installed site, converted in 30k users from old snitz site.


Error: Call to a member function rebuildUserFieldValuesCache() on null in src/XF/Job/User.php at line 58
  1. XF\Job\User->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
  2. XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line258
  3. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line200
  4. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
  5. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  6. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 350
  7. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  8. XF\Mvc\Dispatcher->dispatchFromMatch() insrc/XF/Mvc/Dispatcher.php at line 113
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2326
  11. XF\App->run() in src/XF.php at line 488
  12. XF::runApp() in admin.php at line 13
 
I got the same error the rebuilt the users cache. Latest version of xenforo and more than 119,000 users in the database.

Code:
Error: Call to a member function rebuildUserFieldValuesCache() on null in src/XF/Job/User.php at line 58
XF\Job\User->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 260
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13
 
I got the same error the rebuilt the users cache. Latest version of xenforo and more than 119,000 users in the database.

Code:
Error: Call to a member function rebuildUserFieldValuesCache() on null in src/XF/Job/User.php at line 58
XF\Job\User->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 260
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13
Fixed after doing these queries:
SQL:
INSERT IGNORE INTO xf_user_option (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_privacy (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_profile (user_id) SELECT user_id FROM xf_user;
INSERT IGNORE INTO xf_user_authenticate (user_id) SELECT user_id FROM xf_user;
 
Back
Top Bottom