PHP Error - mkdir(): File exists
I have received this error a few times a week:
mkdir(): File exists in /home/......../plugins/brizy/editor/asset/static-file-trait.php on line 56
It is not causing any obvious problems, but I am interested to know if this has an easy fix.
-
Hi Terry,
Thank you for reaching out to us.
The issue you are experiencing might be related to file permissions on your server. To resolve this, please ensure that you have set the correct file permissions for your WordPress installation. You can find detailed instructions on how to do this in the following article:
https://www.malcare.com/blog/wordpress-file-permissions/
Additionally, I recommend checking the storage space on your server. You might have reached or are close to reaching the file allocation limit for your subscription. Clearing up some space or upgrading your storage capacity may help resolve the issue.Please try this and let me know how it goes.
Best regards,
Ariel H.0 -
There is plenty of storage space left and all the file permissions are correct. Unfortunately, if I look at static-file-trait.php on line 56 it is a simple store_file function and of no help tracing which file it was trying to store when the error was created. The php error log also does not contain the file name.
It is not a big issue it's just I like to investigate any errors in my logs before they become a real problem.
0 -
Hi Terry,
Since this error is originating in /wp-content/plugins/brizy subdirectory.
Please try to reinstall Brizy following these steps:- Using either FTP or the File Manager in your web hosting dashboard, navigate to the "/wp-content/plugins" directory.
- Locate the "brizy" subdirectory and rename it to "brizy.bak" -- https://imgur.com/Dv2JcnK.png
- Return to your WordPress Dashboard and reinstall Brizy as you normally would.
- Monitor your error log to see if the error persists.
Please try this and let me know how it goes.
Regards,
Ariel H.0
Please sign in to leave a comment.
Comments
3 comments