Warning: file_get_contents(quotes.json): Failed to open stream: No such file or directory in /home/course/u24/public_html/submissions/submission02/scripts/get_quote_from_mongodb.php on line 6
Fatal error: Uncaught TypeError: array_rand(): Argument #1 ($array) must be of type array, null given in /home/course/u24/public_html/submissions/submission02/scripts/get_quote_from_mongodb.php:18
Stack trace:
#0 /home/course/u24/public_html/submissions/submission02/scripts/get_quote_from_mongodb.php(18): array_rand()
#1 {main}
thrown in /home/course/u24/public_html/submissions/submission02/scripts/get_quote_from_mongodb.php on line 18