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