WordPress Fatal error Allowed memory size

80 views
asked May 15, 2013 in Website Builder by mike231 (2,480 points)
Hi
I am using WP 5.3 and recently I started getting the error Allowed memory size of 33554432 bytes exhausted.
 I located my php.ini file and edited it and increased the memory limit from  to 256M. But this didn’t solve the error.  I can’t access my dashboard.Can anyone please help me fix this error.
Many thanks in advanced

3 Answers

0 like 0 dislike
answered May 15, 2013 by WebProX (12,200 points)
Try adding this line to your wp-config.php file right after the <?php tag
define('WP_MEMORY_LIMIT', '256M');
0 like 0 dislike
answered May 15, 2013 by expert (14,380 points)
Edit your .htaccess file by adding this line
 php_value memory_limit 256M
0 like 0 dislike
answered May 15, 2013 by WebProX (12,200 points)
if none of the solutions given work. contact your host. They should be able to increase the size for you
...