I’m making a wordpress (I use wordpress 4.0) website as a school project.
Now if I want to login into the dashboard I get this error: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /home/…/public_html/wp-admin/includes/post.php on line 281.
This question has been repeated answered.
You can read and follow forum rules:
Posting Rules
#1. Before posting ANY topic, please search forums for answers to your questions. It’s possible that all your questions were answered already. Member, who will post questions which were answered already, will be warned. 2nd posting of question (which was answered in forum already) will lead to account ban. All members, who will participate in these topics, will be warned too (including administrators and moderators). Moderators should delete these topics.
Try adding this line to your wp-config.php file:
define(‘WP_MEMORY_LIMIT’, ‘64M’);
If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M