500 Internal Server Error

Invalid argument supplied for foreach() (2)

#0 /var/www/opensesto.it/public_html/index.php(85): flight\Engine->handleError(2, 'Invalid argumen...', '/var/www/opense...', 85, Array)
#1 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(165): {closure}()
#2 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction(Object(Closure), Array)
#3 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/Engine.php(322): flight\core\Dispatcher::execute(Object(Closure), Array)
#4 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->_start()
#5 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod(Array, Array)
#6 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute(Array, Array)
#7 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/Engine.php(65): flight\core\Dispatcher->run('start', Array)
#8 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->__call('start', Array)
#9 /var/www/opensesto.it/public_html/vendor/mikecao/flight/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod(Array, Array)
#10 /var/www/opensesto.it/public_html/index.php(627): Flight::__callStatic('start', Array)
#11 {main}