How to fix Allowed memory size in WordPress?

Sometimes after the website’s transition, WordPress will encounter a white page. After activating debug and display_error, you find out the WordPress memory error, in this tutorial we are going to explain the cause of this problem and how to fix Allowed memory size in WordPress. This error that causes WordPress to be unloaded is as follows.

How to fix Allowed memory size in WordPress

A solution to Allowed memory size in WordPress error

We discovered after a review that this is a common problem; this error indicates that you have used too much php memory, this problem is usually caused by over-active WordPress plugins, and you must use the allowable amount Change from Rome to WordPress. Removing the WordPress memory problem has a lot of solutions, but one of the best practices is a simple edit in the wp-config.php file.

to fix Allowed memory size in WordPress, first log in to your admin panel and then open the root folder (public_html) by going the file manager and edit the wp-config.php file. finally place the following code inside the php tag:

define(‘WP_MEMORY_LIMIT’, ’64M’);

or

define(‘WP_MEMORY_LIMIT’, ‘128M’);

With this command, we changed the amount of php memory usage in WordPress to 64MB or 128MB.

If you still have WordPress error, contact your host server, it’s likely that there is a problem with the use of RAM in the php.ini file and ask them to increase the amount of memory for you.

How to fix Allowed memory size in WordPress?
4.5 (90.67%) 15 votes

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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