ErrorException: array_rand(): Second argument has to be between 1 and the number of elements in the array in /usr/share/nginx/html/themes/white/map.php:2 Stack trace: #0 [internal function]: flight\Engine->handleError(2, 'array_rand(): S...', '/usr/share/ngin...', 2, Array) #1 /usr/share/nginx/html/themes/white/map.php(2): array_rand(Array, 0) #2 /usr/share/nginx/html/index.php(272): require_once('/usr/share/ngin...') #3 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(167): {closure}('5') #4 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction(Object(Closure), Array) #5 /usr/share/nginx/html/vendor/mikecao/flight/flight/Engine.php(323): flight\core\Dispatcher::execute(Object(Closure), Array) #6 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->_start() #7 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod(Array, Array) #8 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute(Array, Array) #9 /usr/share/nginx/html/vendor/mikecao/flight/flight/Engine.php(65): flight\core\Dispatcher->run('start', Array) #10 /usr/share/nginx/html/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->__call('start', Array) #11 /usr/share/nginx/html/vendor/mikecao/flight/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod(Array, Array) #12 /usr/share/nginx/html/index.php(408): Flight::__callStatic('start', Array) #13 {main}