• Resolved Miglo

    (@miglo)


    Hi,

    I’m getting this message on my site theaimn.com:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 543600 bytes) in /home/theaimn/public_html/wp-content/plugins/jetpack/modules/contact-form.php on line 12

    I’m an absolute novice so do not know how to fix it myself. Some advice/assistance would be greatly appreciated.

    Best regards,

    Miglo

Viewing 8 replies - 1 through 8 (of 8 total)
  • It looks like some sort of conflict caused by the jetpack plug in which puts you over the allocated memory limit. Try deactivating it.

    See if something here helps you…

    Moderator James Huff

    (@macmanx)

    If that doesn’t work for you, here are three other 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 = 256M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 256M 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 32 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 256MB)

    Thread Starter Miglo

    (@miglo)

    Thanks everybody. I appreciate your help.

    My hosting provider has increased my PHP’s memory allocation and the site is now up. I’m still having problems though; namely that images aren’t appearing on my front page (An error occured during creating the thumbnail.), but the big problem is that I can no longer add a new post or edit an existing post. All I get is a totally blank screen.

    Miglo.

    Increasing the memory limit can disguise the root cause of the problem. There’s likely a conflict somewhere which you may be able to identify by deactivating plug ins/switching to a default theme.

    Moderator James Huff

    (@macmanx)

    Most definitely, especially if the New/Edit post screens are blank.

    Thread Starter Miglo

    (@miglo)

    Thanks everybody for your help. It was the ‘CP Related Posts’ plugin.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

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