Fixing Divi Booster Warning: mkdir(): Permission denied Error

This post may contain referral links which may earn a commission for this site

If you're unlucky, when you install Divi Booster you may be met with an error that looks something like this:

Warning: mkdir(): Permission denied in /www/htdocs/mysite/wp-content/plugins/divi-booster/core/wtfplugin_1_0.class.php on line 143
Warning: file_put_contents(/www/htdocs/mysite/wp-content/uploads/wtfdivi/wp_head.css): failed to open stream: No such file or directory in /www/htdocs/mysite/wp-content/plugins/divi-booster/core/wtfplugin_1_0.class.php on line 182
Warning: file_put_contents(/www/htdocs/mysite/wp-content/uploads/wtfdivi/wp_footer.js): failed to open stream: No such file or directory in /www/htdocs/mysite/wp-content/plugins/divi-booster/core/wtfplugin_1_0.class.php on line 182
Warning: file_put_contents(/www/htdocs/mysite/wp-content/uploads/wtfdivi/wp_footer.txt): failed to open stream: No such file or directory in /www/htdocs/mysite/wp-content/plugins/divi-booster/core/wtfplugin_1_0.class.php on line 182
Warning: file_put_contents(/www/htdocs/mysite/wp-content/uploads/wtfdivi/htaccess.txt): failed to open stream: No such file or directory in /www/htdocs/mysite/wp-content/plugins/divi-booster/core/wtfplugin_1_0.class.php on line 182

This is a result of the file permissions set on the /wp-content/uploads directory within your WordPress installation. Divi Booster needs the write permission to this folder, or it is not able to save the CSS and JavaScript files it creates. If the server has been configured to deny write access to this directory, then Divi Booster will be unable to save its files and will generate the error above.

To fix this, please ensure that the /wp-content/uploads directory is writable. This can be done by setting the permissions level on the folder to 755 (or similar). You should be able to set the permissions on the folder using either an FTP program, through your web host file manager, or using a WordPress security plugin (you may already have a security plugin installed which is restricting the permissions in the first place).

For more information on file permissions within WordPress and how to change them, please see: Changing File Permissions

Hundreds of new features for Divi
in one easy-to-use plugin

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *