Warning: Trying to access array offset on value of type null in /home/runcloud/webapps/default/reddit1/main.php on line 42

Fatal error: Uncaught TypeError: array_key_first(): Argument #1 ($array) must be of type array, null given in /home/runcloud/webapps/default/reddit1/main.php:59 Stack trace: #0 /home/runcloud/webapps/default/reddit1/main.php(59): array_key_first() #1 /home/runcloud/webapps/default/index.php(37): require_once('...') #2 {main} thrown in /home/runcloud/webapps/default/reddit1/main.php on line 59