How to Fix the Protected storage is empty Error in WordPress

How to Fix the Protected storage is empty Error in WordPress

Error Protected storage is empty in WordPress usually occurs when you try to upload a file to the Media Library, but an error happens while saving the file you uploaded.

This error can be caused by several things such as full storage space, incorrect file permissions, plugin conflicts, improper security configurations, or other causes.

If you encounter this error, you can try the following options to fix it.

How to Fix the Protected storage is empty Error in WordPress

Although it is highly likely that this error is due to full storage or disk space on your hosting, there are several other things you can try to resolve this error.

1. Check Hosting Storage Space

If you are using hosting and get the Protected storage is empty error, the first thing you need to do is check the storage space available on your hosting. For example, when using cPanel, you can easily check the amount of storage space or disk space usage through the cPanel dashboard page.

Cara Mengatasi Protected storage is empty WordPress - 1

However, if you are using a VPS, you need to check the storage space still available on the VPS you are using and also check the amount of storage allocated to your WordPress installation.

If it turns out your storage space is full, you need to delete files that are no longer used, including those in the trash folder, or upgrade your hosting or VPS to one with more storage space if possible.

2. Check File Permissions

Have you checked the storage space and found there is still plenty of room available? Then you need to check the file and folder permissions, especially for the folder wp-content/uploads located in your WordPress installation folder.

For folders, it is recommended to use the permission0755 so that you can add content to that folder, especially through the media library in WordPress.

3. Use the Default .htaccess

This error can also be caused by an incorrect configuration, so it is recommended to use the default .htaccess file.

The following is the default .htaccess for WordPress that you can use

# BEGIN WordPress
RewriteEngine OnRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]RewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]
# END WordPress

Make sure that the .htaccess you create or edit uses a dot prefix at the beginning so that it is read as a configuration file.

4. Deactivate Plugins

Another method you can try is to deactivate plugins to check whether the error is caused by a conflict from a plugin you have installed or not.

If you can upload files normally after deactivating plugins, you can try reactivating those plugins one by one and try uploading a file after activating a specific plugin.

5. Use a Default Theme

Just like with plugins, you can try using a default WordPress theme such as Twenty Twenty-Four and try uploading the file again.

When you successfully upload a file after using a default theme, it is highly likely that the error was caused by the theme you were using, and you can try using another theme or contact the theme provider to request an update.

6. Update WordPress

Updating WordPress is highly recommended when a new version is available, because when there is an update, security holes and bugs in previous versions are usually fixed. So, if the upload error you are experiencing is due to a bug in a specific WordPress version, that bug may have already been fixed in the latest version.

If you still get the same error message after trying the methods above, it is recommended to contact your hosting provider or a more experienced party for further inspection.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...