Hi guys,
My wp blog recently has encountered the memory problem. Every time I press the 'publish' button to post a new post it come out the message of " Allowed memory size of 16777216 bytes exhausted (tried to allocate 42 bytes).....public_html/wp-includes/functions.php on line 2901" . However, the post is successfully published because i can found the post at the edit page.
I have done the research online, and I know this problem is quite common. However I try almost all the approaches that recommended by experianceses people but the problem still remains. The solution that i have tried includes:
1. .htaccess file:
php_value memory_limit 32M
2. wp-config.php file:
Increasing memory allocated to PHP
define('WP_MEMORY_LIMIT', '32M');
3.wp-setting.php files:
define('WP_MEMORY_LIMIT', '32M');
and many more...but i still solve the probelm.
The only solution that work for me is inactivating some plugin. But it seems it is not the specific plug in that cause the problem. Because inactivating the plugin only solve the problem temporary. The error will occur again after some post has been published. Than i will need to inactivating other plug in again. This is kind a weird and i am totally have no idea what is going on here.
Anyone can help? Please...