WordPress Fatal Memory Error

If you see an “allowed memory size exhausted†error in WordPress, this is one of the most commonly seen WordPress errors. You can quickly resolve this issue by increasing the PHP memory limit. 

Example error message is below

===

Fatal error

Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx

===

Increase the PHP Memory Limit using PHP Selector in cPanel.

All our Shared Hosting Plans have the PHP Selector enabled in cPanel. This gives you full control over the PHP Version and the PHP options and limits and you can easily configure specific PHP setup for your account. 

You do not need to contact our support team, however if you require any helps please do contact support or create a ticket. 

In order to change the memory_limit and upload_max_filesize values, you need to access your cPanel account first.

Once logged in, locate the Software and Services section on the page and click on Select PHP Version. 

At the top right corner of the screen, you will notice a button named Switch To PHP Settings. 

Click this link and you will be able to change the memory_limit and upload_max_filesize values to the ones you need for your application;

Once you select your required value, you will see a message saying it has automatically been saved.

You can increase the memory limit of the application

Many WordPress themes and plugins that require the memory limit of the application to be increased. How can this be achieved? It is relatively easy, and all you have to do is locate the wp-config.php file and add the following line:

define ('WP_MEMORY_LIMIT', '512M');

Contact us for Assistance

Please feel free to submit a ticket via your Client Area with us if you have any issues or you require further information or help.

 

  • 2 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Change WordPress Site URL Via phpMyAdmin

How to change your WordPress installation site URL in the event you no longer have access to the...

How to reduce comment SPAM in WordPress

Spam in the comments section of your WordPress posts can quickly become an aggravating problem....

How to Manually Upgrade WordPress

This article covers how to upgrade WordPress. WordPress described the requirements for One-click...

Changing your WordPress URL and Site URL

This article covers changing your WordPress URL. For many people out there, the “WordPress...

How to Install Wordpress via Softaculous in cPanel?

1. Log into your cPanel account. 2. In the "Software" section, click on "Softaculous App...