ludovick12
Member
Posted 4 years ago #
I keep gettiing this error whenever i try to log in to the admin account. Also, only my homepage shows and that it. my website is http://www.e-bookreaders.biz.
Error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home1/ebookrea/public_html/wp-admin/includes/template.php on line 340
Pleassee hellppp
May have to increase the amount of memory a PHP script may consume
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 8M try 16M:
memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)
2. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 16M
3. Talk to your host.
You might also try disabling Plugins if you can't increase PHP memory. I understand some plugin such as Google Sitemap use quite a bit of memory.
Resource:
How to deactivate all plugins when not able to access the administrative menus?
ucsfstudent1
Member
Posted 4 years ago #
I deactivated a few plugins and that fixed the problem.