Warning: Undefined variable $submission in /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php on line 55
Warning: fopen(/home/course/u10/public_html/submissions//resources/quote_today.txt): Failed to open stream: No such file or directory in /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php on line 46
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php:47
Stack trace:
#0 /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php(47): fwrite()
#1 /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php(74): create_quote_today()
#2 {main}
thrown in /home/course/u10/public_html/submissions/submission06/scripts/get_quote_from_mongodb.php on line 47