You can get errors like this:
Failed to open stream: No such file or directory in foo.php on line 45
If you reference a file that doesn’t exist.
Please perform the following steps to fix the issue:
- To troubleshoot the problem, look in the file given, at the line given (for this example, you would look at file foo.php on line 45.). The file mentioned on that line is the one that PHP can’t find.
- Make sure that the file in question has proper permissions (644 or 755) and is readable by the system/server.
- Contact your hosting provider regarding the issue.