How to Fix a WordPress ‘Allowed Memory’ Error

wordpressHave you gotten an error in WordPress when you try to login similar to the one below?

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /public_html/wp-admin/includes/template.php on line 358

If so, go into your wp-config file and add the following line:

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

That should take care of it!

Related posts:

Previous post:

Next post: