Warning: file_get_contents(/home/course/u41/public_html/submission00/resources/quotes.json): Failed to open stream: No such file or directory in /home/course/u41/public_html/submissions/submission00/scripts/get_quote.php on line 8
Warning: fopen(/home/course/u41/public_html/submission00/resources/quote_today.txt): Failed to open stream: No such file or directory in /home/course/u41/public_html/submissions/submission00/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/u41/public_html/submissions/submission00/scripts/get_quote.php:13
Stack trace:
#0 /home/course/u41/public_html/submissions/submission00/scripts/get_quote.php(13): fwrite()
#1 /home/course/u41/public_html/submissions/submission00/scripts/get_quote.php(48): create_quote_today()
#2 {main}
thrown in /home/course/u41/public_html/submissions/submission00/scripts/get_quote.php on line 13