Warning: file_get_contents(/home/course/u16/public_html/submission02/resources/quotes.json): Failed to open stream: No such file or directory in /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php on line 8
Warning: fopen(/home/course/u16/public_html/submission02/resources/quote_today.txt): Failed to open stream: No such file or directory in /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php on line 12
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php:13
Stack trace:
#0 /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php(13): fwrite()
#1 /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php(52): create_quote_today()
#2 {main}
thrown in /home/course/u16/public_html/submissions/submission04/scripts/get_quote.php on line 13