Warning: Trying to access array offset on value of type bool in /usr/local/www/wdb/actions/randomsite/randomsite.php on line 19

Warning: Undefined variable $showall in /usr/local/www/wdb/actions/randomsite/randomsite.php on line 25

Fatal error: Uncaught ValueError: array_rand(): Argument #1 ($array) cannot be empty in /usr/local/www/wdb/actions/randomsite/randomsite.php:43 Stack trace: #0 /usr/local/www/wdb/actions/randomsite/randomsite.php(43): array_rand() #1 /usr/local/www/wdb/libs/Wakka.class.php(587): include('...') #2 /usr/local/www/wdb/libs/Wakka.class.php(3662): Wakka->IncludeBuffered() #3 /usr/local/www/wdb/formatters/wakka.php(931): Wakka->Action() #4 [internal function]: wakka2callback() #5 /usr/local/www/wdb/formatters/wakka.php(1171): preg_replace_callback() #6 /usr/local/www/wdb/libs/Wakka.class.php(587): include('...') #7 /usr/local/www/wdb/libs/Wakka.class.php(3803): Wakka->IncludeBuffered() #8 /usr/local/www/wdb/handlers/show/show.php(124): Wakka->Format() #9 /usr/local/www/wdb/libs/Wakka.class.php(587): include('...') #10 /usr/local/www/wdb/libs/Wakka.class.php(3710): Wakka->IncludeBuffered() #11 /usr/local/www/wdb/libs/Wakka.class.php(5266): Wakka->Handler() #12 /usr/local/www/wdb/wikka.php(809): Wakka->Run() #13 {main} thrown in /usr/local/www/wdb/actions/randomsite/randomsite.php on line 43