WordPress Fatal Error

48 views
asked Jul 11, 2013 in Website Builder by SunFun (3,000 points)
Hi
Ever since I upgraded some plugins I am getting the below Fatal error
“Allowed memory size of 41943040 bytes exhausted “ How do I fix this? Please advice
Many thanks

2 Answers

0 like 0 dislike
answered Jul 11, 2013 by WebProX (12,200 points)
Add the below line to your wp-config.php file
define('WP_MEMORY_LIMIT','64M');
0 like 0 dislike
answered Jul 11, 2013 by WebGuru (9,280 points)
Edit the memory assigned in your PHP.ini file like this

memory_limit = 64M ;

and if you don't have access to your PHP.ini file try adding the below line to your .htaccess file:
php_value memory_limit 64M
...