Duplicate Call to a member function getHashesPath() on null (File Health Check)

Tom

Active member
Affected version
2.0 Beta 6
Error 500 showing when I try to run a File Health Check, with the following error in the logs:

Stack trace
Code:
#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state
Code:
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(129) "https://xf2.fellowsfilm.co.uk/admin.php?tools/run-job&only=fileCheck&_xfRedirect=%2Fadmin.php%3Ftools%2Ffile-check%2F20%2Fresults"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(67) "https://xf2.fellowsfilm.co.uk/admin.php?tools/file-check/20/results"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(3) "100"
  }
}
 
Me too getting error after upgrade to beta 6
An exception occurred: [Error] Call to a member function getHashesPath() on null in src/XF/Job/FileCheck.php on line 67
  1. XF\Job\FileCheck->run() in src/XF/Job/Manager.php at line 241
  2. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187
  3. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 103
  4. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 117
  5. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249
  6. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 87
  7. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  8. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1831
  9. XF\App->run() in src/XF.php at line 328
  10. XF::runApp() in admin.php at line 13
2 server errors are logged too
 
Code:
Stack trace
#0 src/XF/Job/Manager.php(241): XF\Job\FileCheck->run(8)
#1 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#2 src/XF/Job/Manager.php(103): XF\Job\Manager->runJobEntry(Array, 8)
#3 src/XF/Admin/Controller/Tools.php(117): XF\Job\Manager->runByIds(Array, 8)
#4 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1831): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}

Code:
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(119) "https://mydomain.com/admin.php?tools/run-job&only=fileCheck&_xfRedirect=%2Fadmin.php%3Ftools%2Ffile-check%2F59%2Fresults"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(57) "https://mydomain.com/admin.php?tools/file-check/59/results"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(3) "639"
  }
}
 
Back
Top Bottom