500 Internal Server Error

Invalid argument supplied for foreach() (2)

#0 /var/www/perantichecontrade.it/public_html/index.php(79): flight\Engine->handleError(2, 'Invalid argumen...', '/var/www/perant...', 79, Array)
#1 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(162): {closure}(Object(flight\net\Route))
#2 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction(Object(Closure), Array)
#3 /var/www/perantichecontrade.it/public_html/flight/Engine.php(310): flight\core\Dispatcher::execute(Object(Closure), Array)
#4 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(191): flight\Engine->_start()
#5 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod(Array, Array)
#6 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute(Array, Array)
#7 /var/www/perantichecontrade.it/public_html/flight/Engine.php(63): flight\core\Dispatcher->run('start', Array)
#8 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(191): flight\Engine->__call('start', Array)
#9 /var/www/perantichecontrade.it/public_html/flight/core/Dispatcher.php(191): flight\Engine->start()
#10 /var/www/perantichecontrade.it/public_html/flight/Flight.php(43): flight\core\Dispatcher::invokeMethod(Array, Array)
#11 /var/www/perantichecontrade.it/public_html/index.php(472): Flight::__callStatic('start', Array)
#12 /var/www/perantichecontrade.it/public_html/index.php(472): Flight::start()
#13 {main}