Jump to content

[App scanner, 4.7.3B3] TypeError: count(): Argument #1 ($value) must be of type Countable|array, boo


Go to solution Solved by Stuart Silvester,

Recommended Posts

Posted
TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given (0)
#0 /home/sites/dev/www/473b3/system/Application/Scanner.php(786): IPS\Application\_Scanner::scanExtendedClasses()
#1 /home/sites/dev/www/473b3/applications/core/modules/admin/support/support.php(519): IPS\Application\_Scanner::scanCustomizationIssues()
#2 /home/sites/dev/www/473b3/applications/core/modules/admin/support/support.php(228): IPS\core\modules\admin\support\_support->_showBlockHookscanner()
#3 /home/sites/dev/www/473b3/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\support\_support->getBlock()
#4 /home/sites/dev/www/473b3/applications/core/modules/admin/support/support.php(48): IPS\Dispatcher\_Controller->execute()
#5 /home/sites/dev/www/473b3/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\support\_support->execute()
#6 /home/sites/dev/www/473b3/init.php(927) : eval()'d code(28): IPS\_Dispatcher->run()
#7 /home/sites/dev/www/473b3/admin/index.php(13): IPS\Dispatcher\toolbox_hook_dispatcherStandard->run()
#8 {main}

$methodIssues = static::compareMethodsForIssues() can be both an array or bool. Should check for that before using it in a count().

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...