WordPress.org

Ready to get started?Download WordPress

Forums

RSS Feed Caused a Fatal Error? (4 posts)

  1. cchestnut
    Member
    Posted 4 years ago #

    So yesterday when I logged out of my site, everything appeared to be in order. But today, when I went to the site, my RSS Feed seemed to be causing a Fatal Error:

    "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 34348 bytes) in /home2/dillonhe/public_html/wp-includes/functions.php on line 965"

    This is the first time this has occurred, and I'm not sure what to do about it. For the moment, I pulled the RSS Feed widget and the site seems to have returned to normal.

    So what does the error mean, and is there a way to fix it and restore the RSS Feed widget?

  2. cchestnut
    Member
    Posted 4 years ago #

    Okay, I put the RSS Feed back on the site, and it worked for a while...then suddenly this morning I got the same error:

    "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 130461 bytes) in /home2/dillonhe/public_html/wp-includes/wp-db.php on line 478"

    It had once again broken the site past that point.

    Does anyone have any idea how to fix this?

  3. Samuel B
    moderator
    Posted 4 years ago #

    1. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');
    
    2. 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)
    
    3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    4. Talk to your host.
  4. cchestnut
    Member
    Posted 4 years ago #

    Thanks, Sam! I was able to implement the first option, and I guess I'll just have to sit back and wait to see if that works. It seemed to take about a week for the feed to crash, so if things are still running smoothly next Friday, I'll take that as a good sign!

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic