[OzzModz] Ignore Files From Health Check

[OzzModz] Ignore Files From Health Check 2.0.3

No permission to download
Bug report for version: 2.0.1

Ignored a file, ran the file check and this error was reported.

Full error trace:
Code:
ErrorException: [E_NOTICE] Undefined index: ozzmodzAdvancedACPignoredFilesSwitch src/addons/OzzModz/IgnoreFileFromFileCheck/XF/Job/FileCheck.php:40

#0 src/addons/OzzModz/IgnoreFileFromFileCheck/XF/Job/FileCheck.php(40): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/umbrellao...', 40, Array)
#1 src/XF/Job/FileCheck.php(108): OzzModz\IgnoreFileFromFileCheck\XF\Job\FileCheck->completeFileCheck(Object(OzzModz\IgnoreFileFromFileCheck\XF\Entity\FileCheck), Array)
#2 src/XF/Job/Manager.php(258): XF\Job\FileCheck->run(G)
#3 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, G)
#4 src/XF/Job/Manager.php(116): XF\Job\Manager->runJobEntry(Array, G)
#5 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#6 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(OzzModz\IgnoreFileFromFileCheck\XF\Admin\Controller\Tools), NULL)
#8 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\IgnoreFileFromFileCheck\XF\Admin\Controller\Tools), NULL)
#9 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#11 src/XF.php(465): XF\App->run()
#12 admin.php(13): XF::runApp('XF\\Admin\\App')
#13 {main}

array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(53) "https://umbrella-online.co.uk/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }

  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(68) "https://umbrella-online.co.uk/admin.php?tools/file-check/101/results"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(4) "2585"
  }
}
 
Sorry @ozzy47, I know you're busy - just thought I'd give this a bump..

I ended up disabling the add-on since the errors were just as annoying as the health check results, but it'd be great to have a "clean" admin panel.. ;)
 
There doesn't appear to be a way of viewing ignored files if there aren't any non-ignored files triggering the dreaded notification?

Unless I'm missing something, which is entirely possible.. ;)
 
Is it possible to add an extra colum in the ACP File health check results with a count of how many ignored files there are?

This would make it easier to search for results to view ignored files (as above)


1641853271295.png
 
Back
Top