Fatal Error: Allowed Memory Exhausted
-
I have a website that uses several thousand feed sources, and many items per source. The items will show up in different parts of the site. I have thousands of a custom post type, and each of these posts has an associated rss source. In the single post page, there is a widget that shows the latest 5 items in the feed. Right now, some posts take a long time to load (~30 seconds) whereas in other posts the widget shows the error: Fatal Error: Allowed Memory Exhausted.
I am not using any wp rss aggregator add-ons, including post to feed. Why would some sources go over the memory limit, and why are others taking so long? I have inserted the sources as as shortcodes:
$shortcode = sprintf('[wp-rss-aggregator feeds="%1$s" template="sidebar" limit="5"]', $feed_title); echo do_shortcode( $shortcode );
Any and all guidance or responses are welcome. Thank you.
- The topic ‘Fatal Error: Allowed Memory Exhausted’ is closed to new replies.