Forums

[resolved] Fatal Error (12 posts)

  1. contarianconsulting
    Member
    Posted 2 weeks ago #

    Please help I am getting this message!

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home/contrari/public_html/wp-includes/class-simplepie.php on line 5359

  2. samboll
    moderator
    Posted 2 weeks ago #

    add this line to your wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

  3. contarianconsulting
    Member
    Posted 2 weeks ago #

    samboll thank you...

    I appreciate the help... but what is the problem?

  4. contarianconsulting
    Member
    Posted 2 weeks ago #

    in what place exectly do I add it to... Thanks Sambol

  5. contarianconsulting
    Member
    Posted 2 weeks ago #

    I have just added it after

    define('DB_NAME', 'contrari_wrdp1');

    but the problem is still there

  6. contarianconsulting
    Member
    Posted 2 weeks ago #

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /home/contrari/public_html/wp-includes/class-simplepie.php on line 5359

  7. samboll
    moderator
    Posted 2 weeks ago #

    I have just added it after

    define('DB_NAME', 'contrari_wrdp1');

    but the problem is still there

    why would you add that? That is not what I told you to add

    add this
    define('WP_MEMORY_LIMIT', '64M');
    right after opening php tag

  8. contarianconsulting
    Member
    Posted 2 weeks ago #

    I said that I have added define('WP_MEMORY_LIMIT', '64M');

    after

    define('DB_NAME', 'contrari_wrdp1');

    but now I have moved

    define('WP_MEMORY_LIMIT', '64M');
    right after opening php tag....

    reloaded the browser but the problem still there. the message shows up under the plugins, incoming links, and wordpress development blog in the dashboard

    :(

  9. samboll
    moderator
    Posted 2 weeks ago #

    if that doesn't work then you need to ask your host to bump your php memory for you

  10. contarianconsulting
    Member
    Posted 2 weeks ago #

    thank you very much samboll.... I will call my host provider tomorrow and let you know of the out come.

    One more question... is it something that I should be worried about if they can't fix it or is it not a big deal? Basically what are the implications of it?

    Thanks again

  11. samboll
    moderator
    Posted 2 weeks ago #

    right now it's probably not a big deal - the simple-pie is used to bring announcements to the dashboard
    do your feeds still work?

    the problem is later as you add stuff to your blog, you will likely run into this error again and it will affect the front end as well

    here are other ways to do it, but usually if my method doesn't work, the host just doesn't allow it
    http://perishablepress.com/press/2008/02/17/wordpress-error-fix-increase-php-memory-for-cachephp/

    also, deactivate plugins to make sure one isn't messing with you

    other methods:
    1. 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)

    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

  12. contarianconsulting
    Member
    Posted 1 week ago #

    Thank you very much Sambol for your detailed instructions....

    I have called my service provider to increase the memory and the error message was still there.... so I removed the plug in that I thought might be messing thigs up and it seems to fix the problem.

    Once again thanks for such detailed explanations and your time.

Reply

You must log in to post.

About this Topic