Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /home/public_html/hol/wp-includes/meta.php on line 571
I'm receiving this error when I try to log into my wordpress blog as admin. If I login anything else lower than level 3 everything works fine!
I tried removing all custom functions.php, error remains. But I don't understand why meta.php? what is there on line 571?
What do I do to diagnose the bad code? btw, I removed db and went back with same php files to db of 1 week ago and all works fine. So there must be something in DB? but what??
I have 256mb allocated in php.ini, should be mooore than enough!
As advised I tried to test out every plugin and theme for memory usage.
First thing I did, is to reinstall wordpress on my test server, turn on custom theme and all plugins...
Max I got was 50mb.
I reimported DB from 1 week ago.
And memory usage was double, but still not bad.
At this point, I reimported current DB and memory error re-emerged.
At this point I disabled all plugins and enabled 1 by 1. When I reached sendpress plugin error came back!
But sendpress is a simple plugin, all it does is collect emails and create a list of emails. It was not giving errors 1 week ago (have this plugin installed for about 2 month had no issues before)
So my question now is, what is happening? why would sendpress cause issues?