WordPress.org

Support

Support » How-To and Troubleshooting » RSS Feed Caused a Fatal Error?

RSS Feed Caused a Fatal Error?

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    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.

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘RSS Feed Caused a Fatal Error?’ is closed to new replies.