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.
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:
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.