exception 'ErrorException' with message 'array_rand(): Second argument has to be between 1 and the number of elements in the array' in /opt/web/xhome/themes/sozzis/single.php:5 Stack trace: #0 [internal function]: flight\Engine->handleError(2, 'array_rand(): S...', '/opt/web/xhome/...', 5, Array) #1 /opt/web/xhome/themes/sozzis/single.php(5): array_rand(Array, 0) #2 /opt/web/xhome/index.php(332): require_once('/opt/web/xhome/...') #3 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(167): {closure}('small-apartment...') #4 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction(Object(Closure), Array) #5 /opt/web/xhome/vendor/mikecao/flight/flight/Engine.php(324): flight\core\Dispatcher::execute(Object(Closure), Array) #6 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->_start() #7 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod(Array, Array) #8 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute(Array, Array) #9 /opt/web/xhome/vendor/mikecao/flight/flight/Engine.php(65): flight\core\Dispatcher->run('start', Array) #10 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->__call('start', Array) #11 /opt/web/xhome/vendor/mikecao/flight/flight/core/Dispatcher.php(196): flight\Engine->start() #12 /opt/web/xhome/vendor/mikecao/flight/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod(Array, Array) #13 /opt/web/xhome/index.php(349): Flight::__callStatic('start', Array) #14 /opt/web/xhome/index.php(349): Flight::start() #15 {main}