PHP Warning: No such file or directory
-
The following PHP warning is filling up my PHP error log:
PHP Warning: mkdir(): No such file or directory in /home/cpaneluser/public_html/wp-content/plugins/photo-gallery/framework/BWGOptions.php on line 353
I temporarily added the following code to BWGOptions.php at line 351:
var_dump($this->upload_dir);
Here is the output from the above statement:
string(59) "/home/cpaneluser/public_html/wp-content/uploads/photo-gallery"
This path is correct, and the directory does exist. For some reason, this line of code in the plugin thinks it does not exist:
if ( !is_dir($this->upload_dir) ) {
I checked the file permissions of the directory in question, and all the directories above it, and the permissions are correct. What am I missing?
The page I need help with: [log in to see the link]
- The topic ‘PHP Warning: No such file or directory’ is closed to new replies.