If you get an error on a WordPress site that shows, "Fatal error: Allowed memory size...", you will have to increase the php memory limit.
First, try adding the following piece of code to the wp-config.php file:
define( 'WP_MEMORY_LIMIT', '512M' );
You can change the 512M to something higher if needed.
If this doesn't work, check the memory limit on the cPanel of that account and then on WHM for that php version. Note that changing the php memory limit on WHM will change for all other accounts that are using that php version.
Search Knowledge Base Articles
Getting "Fatal error: Allowed memory size..." Message on WordPress Sites
Did you find this article useful?
Related Articles
-
Creating a New cPanel Account on WHM
Step 1: Log InLogin into the desired WHM accountStep 2: In WHM Dashboard Select "Create a New Account"Step 3: Domain InformationThe domain information... -
Privacy Policy Online Generator
Here is an online generator for a Privacy Policy:https://www.privacypolicygenerator.info/... -
Terms & Conditions Online Generator
Here's an online generator for "Terms & Conditions":https://www.termsandconditionsgenerator.com/You will have to spell-check because there are typ... -
WooCommerce Constant Loading on Credit Card Section
If after putting location in when checking out, and the credit card section keeps spinning, chances are you have to turn off and on the "mod_security2... -
Client not receiving emails from form on website.
The solution for this should be SPF record or if that doesn't work smtp issue. SPF record example: v=spf1 a mx ip4:xxx.xxx.xxx.xxx -allre...