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