• Resolved wordpressless

    (@wordpressless)


    Hi!

    I’m having a bit of a problem on my wordpress site. I didn’t code it and my coder is unresponsive. So I have a problem only on my homepage, I can edit and update any other page but when I try to change just a minimal change (ie. delete a space or a letter in a text) I get this error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/krakensi/public_html/wp-includes/meta.php on line 841

    I tried to increase the memory allocated to PHP with editing the default-constants.php, but it didn’t work.
    I went to disable some plugins and at first when I disabled one I could make some changes but then again not. I tried to activate and deactivate the same plugin and nothing happend. Same thing happend with some other plugins, I could update the home page, but just once.
    I really don’t know what to do, I have a feeling that something in the code is eating all this memory.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter wordpressless

    (@wordpressless)

    Another thing, maybe it is related. I can’t seem to delete any plugins. I get this error:
    Deletion failed: Connection lost or the server is busy. Please try again later.

    Moderator James Huff

    (@macmanx)

    I tried to increase the memory allocated to PHP with editing the default-constants.php, but it didn’t work.

    Because that’s not how you do it. ??

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating *all* plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, here are three ways to increase PHP’s memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account. Keep in mind that most decent hosting providers allocate 64 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 128MB)

    Thread Starter wordpressless

    (@wordpressless)

    I’ve deactivated all plugins and changed my theme. But the error stayed. The only difference was when I deactivated Advanced Custom Fields PRO, there was no error but there was also no page, since it relies so heavily on it.

    I’ve increased the memory limit in the php.ini file even to 256m (it was already on 128m at default) but it didn’t help. Really don’t know what else to do. This fatal error aparently just appeared suddenly.

    The fatal error memory size also always stays the same: 33554432

    Thanks!

    • This reply was modified 7 years, 3 months ago by wordpressless.
    Moderator James Huff

    (@macmanx)

    Ok, that would suggest then that server is running out of physical memory, not that you’re hitting the allocation limit.

    I recommend contacting your hosting provider about this.

    Thread Starter wordpressless

    (@wordpressless)

    The strange thing is that I have this fatal error only when editing a specific page (it’s like the homepage).
    But right now it seems the problem is solved. I changed my php version in cpanel to another one, and I didn’t get any errors so far.
    Thanks for all the help!

    Moderator James Huff

    (@macmanx)

    Excellent, would you please let us know which versions of PHP you moved from and to?

    Thread Starter wordpressless

    (@wordpressless)

    I am now on PHP Version 5.6.30, I can’t remember exactly from which I went. I’m 80% sure it was the same. But first I went to 7.0 and worked my way down. Maybe it refreshed something.

    Cheers.

    Moderator James Huff

    (@macmanx)

    Excellent, PHP 7.0 is recommended, but 5.6 will be just fine too. ??

    https://www.ads-software.com/about/requirements/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Allowed memory size exhausted’ is closed to new replies.