There are a few possible reasons why this error could occur. Therefore, there are multiple methods you could apply to try and fix it.

Method 1

Try adding this line to your wp-config.php file: define(‘WP_MEMORY_LIMIT’, ‘128M’); To do so, follow these simple steps:

Step 1: Go to your control panel first.
Step 2: Enter the File Manager section.
Step 3: Then go to Public_html folder.
Step 4: Open the wp-config.php file with the editor.
Step 5: Add the following code.
define (‘WP_MEMORY_LIMIT’, ‘128M’);
Step 6: Then save the file.

Method 2

If you have access to your PHP.ini file, change the line responsible for memory allocation in it. If your line shows 32M try 128M:
memory_limit = 128M ;

Method 3

If you don’t have access to PHP.ini try adding this to a .htaccess file:
php_value memory_limit 128M

Method 4

Here’s a general rule for WordPress site management: If you have just updated a plugin or theme and you’re seeing errors, try rolling back to a previous version.

In most cases, if you get a memory limit error it’s due to a faulty plugin or theme. If you set it to 128 M using one of the previous methods, and are still getting the error, then you for sure know it’s due to a faulty plugin. So the key question is what plugin did you install prior to this and uninstall it.

If this still doesn’t work, disable all plugins and start re-activating them one by one until you run into the error again. This way you will know that the plugin you enabled last is the culprit.

Method 5

If none of the aforementioned methods helped you get rid of the error, it is time to contact your hosting provider.  They can look into it and help you with any further steps you need to take. If you have a web hosting service from Monovm and are facing this error, you can contact us via live chat, email, or our advanced ticketing system and we will assist you in solving this problem.