| ( ! ) Fatal error: Uncaught TypeError: Argument 2 passed to App\Core\Helpers\RoutingHooks::generateRoutesCache() must be of the type array, null given, called in /var/www/awningsonline_co_uk/webroot/lib/App/Core/Helpers/RoutingHooks.php on line 59 and defined in /var/www/awningsonline_co_uk/webroot/lib/App/Core/Helpers/RoutingHooks.php on line 88 |
| ( ! ) TypeError: Argument 2 passed to App\Core\Helpers\RoutingHooks::generateRoutesCache() must be of the type array, null given, called in /var/www/awningsonline_co_uk/webroot/lib/App/Core/Helpers/RoutingHooks.php on line 59 in /var/www/awningsonline_co_uk/webroot/lib/App/Core/Helpers/RoutingHooks.php on line 88 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 428512 | {main}( ) | .../index.php:0 |
| 2 | 0.2587 | 8930192 | require_once( '/var/www/awningsonline_co_uk/webroot/core/routes-webadmin.php ) | .../index.php:39 |
| 3 | 0.2588 | 8939992 | Slim\App->group( $pattern = '/webadmin', $callable = class Closure { virtual $closure = "{closure}" } ) | .../routes-webadmin.php:2857 |
| 4 | 0.2589 | 8940104 | Slim\RouteGroup->__invoke( $app = class Slim\App { private $container = class Slim\Container { private $defaultSettings = [...]; private ${Pimple\Container}values = [...]; private ${Pimple\Container}factories = class SplObjectStorage { ... }; private ${Pimple\Container}protected = class SplObjectStorage { ... }; private ${Pimple\Container}frozen = [...]; private ${Pimple\Container}raw = [...]; private ${Pimple\Container}keys = [...] }; protected $tip = class Closure { virtual $closure = "$this->Slim\{closure}" }; protected $middlewareLock = FALSE } ) | .../App.php:272 |
| 5 | 0.2589 | 8941568 | Closure->{closure:/var/www/awningsonline_co_uk/webroot/core/routes-webadmin.php:38-2857}( class Slim\App { private $container = class Slim\Container { private $defaultSettings = [...]; private ${Pimple\Container}values = [...]; private ${Pimple\Container}factories = class SplObjectStorage { ... }; private ${Pimple\Container}protected = class SplObjectStorage { ... }; private ${Pimple\Container}frozen = [...]; private ${Pimple\Container}raw = [...]; private ${Pimple\Container}keys = [...] }; protected $tip = class Closure { virtual $closure = "$this->Slim\{closure}" }; protected $middlewareLock = FALSE } ) | .../RouteGroup.php:25 |
| 6 | 0.2592 | 8966768 | include( '/var/www/awningsonline_co_uk/webroot/modules/EmailSettings/src/routes/webadmin.php ) | .../routes-webadmin.php:43 |
| 7 | 0.2592 | 8967544 | Slim\App->group( $pattern = '/email-settings', $callable = class Closure { virtual $closure = "$this->{closure}" } ) | .../webadmin.php:100 |
| 8 | 0.2592 | 8967656 | Slim\RouteGroup->__invoke( $app = class Slim\App { private $container = class Slim\Container { private $defaultSettings = [...]; private ${Pimple\Container}values = [...]; private ${Pimple\Container}factories = class SplObjectStorage { ... }; private ${Pimple\Container}protected = class SplObjectStorage { ... }; private ${Pimple\Container}frozen = [...]; private ${Pimple\Container}raw = [...]; private ${Pimple\Container}keys = [...] }; protected $tip = class Closure { virtual $closure = "$this->Slim\{closure}" }; protected $middlewareLock = FALSE } ) | .../App.php:272 |
| 9 | 0.2592 | 8968432 | Closure->{closure:/var/www/awningsonline_co_uk/webroot/modules/EmailSettings/src/routes/webadmin.php:13-100}( class Slim\App { private $container = class Slim\Container { private $defaultSettings = [...]; private ${Pimple\Container}values = [...]; private ${Pimple\Container}factories = class SplObjectStorage { ... }; private ${Pimple\Container}protected = class SplObjectStorage { ... }; private ${Pimple\Container}frozen = [...]; private ${Pimple\Container}raw = [...]; private ${Pimple\Container}keys = [...] }; protected $tip = class Closure { virtual $closure = "$this->Slim\{closure}" }; protected $middlewareLock = FALSE } ) | .../RouteGroup.php:25 |
| 10 | 0.2592 | 8968752 | App\Core\Helpers\RoutingHooks::routeAlter( $route = '/webadmin/email-settings', $arg1 = class Slim\App { private $container = class Slim\Container { private $defaultSettings = [...]; private ${Pimple\Container}values = [...]; private ${Pimple\Container}factories = class SplObjectStorage { ... }; private ${Pimple\Container}protected = class SplObjectStorage { ... }; private ${Pimple\Container}frozen = [...]; private ${Pimple\Container}raw = [...]; private ${Pimple\Container}keys = [...] }; protected $tip = class Closure { virtual $closure = "$this->Slim\{closure}" }; protected $middlewareLock = FALSE }, $arg2 = ??? ) | .../webadmin.php:14 |
| 11 | 0.2594 | 8968832 | App\Core\Helpers\RoutingHooks::generateRoutesCache( $cache = class Zend\Cache\Storage\Adapter\Filesystem { protected $totalSpace = NULL; protected $lastFileSpecId = '/var/www/awningsonline_co_uk/webroot/spool/cache/system-routes/2'; protected $lastFileSpec = '/var/www/awningsonline_co_uk/webroot/spool/cache/system-17/system-55/system-routes'; protected $events = class Zend\EventManager\EventManager { protected $events = [...]; protected $eventPrototype = class Zend\EventManager\Event { ... }; protected $identifiers = [...]; protected $sharedManager = NULL }; protected $eventHandles = []; protected $pluginRegistry = class SplObjectStorage { }; protected $capabilities = NULL; protected $capabilityMarker = NULL; protected $options = class Zend\Cache\Storage\Adapter\FilesystemOptions { protected $cacheDir = '/var/www/awningsonline_co_uk/webroot/spool/cache'; protected $clearStatCache = TRUE; protected $dirLevel = 2; protected $dirPermission = 493; protected $fileLocking = TRUE; protected $filePermission = 438; protected $keyPattern = '/^[a-z0-9_\\+\\-]*$/Di'; protected $namespaceSeparator = '-'; protected $noAtime = TRUE; protected $noCtime = TRUE; protected $umask = FALSE; protected $suffix = 'dat'; protected $tagSuffix = 'tag'; protected $__prioritizedProperties__ = [...]; protected $adapter = ...; protected $namespace = 'system'; protected $readable = TRUE; protected $ttl = 3600; protected $writable = TRUE; protected $__strictMode__ = TRUE } }, $routes = NULL, $cleanHook = 'hookwebadminemailminussettings' ) | .../RoutingHooks.php:59 |