Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be an instance of Exception, instance of Error given, called in /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/core/Dispatcher.php on line 169 and defined in /srv/users/serverpilot/apps/comparaclub/public/functions.php:33 Stack trace: #0 /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/core/Dispatcher.php(169): {closure}(Object(Error)) #1 /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/core/Dispatcher.php(145): flight\core\Dispatcher::callFunction(Object(Closure), Array) #2 /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/core/Dispatcher.php(49): flight\core\Dispatcher::execute(Object(Closure), Array) #3 /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/Engine.php(92): flight\core\Dispatcher->run('error', Array) #4 /srv/users/serverpilot/apps/comparaclub/public/vendor/mikecao/flight/flight/Engine.php(185): flight\Engi in /srv/users/serverpilot/apps/comparaclub/public/functions.php on line 33