• PHP Fatal error: Call to a member function setting() on a non-object in /wp-content/plugins/feedwordpress/feedwordpress.php on line 613

    I’m looking at the source code, but without reading through the code for more time than I have, I don’t see the obvious problem. It’s the top line of this chunk.

    if ($source->setting('munge comments feed links', 'munge_comments_feed_links', 'yes') != 'no') :
    			$commentFeeds = get_post_custom_values('wfw:commentRSS');
    			if (
    				is_array($commentFeeds)
    				and (count($commentFeeds) > 0)
    				and (strlen($commentFeeds[0]) > 0)
    			) :
    				$replacement = $commentFeeds[0];
    
    				// This is a foreign link; WordPress can't vouch for its not
    				// having any entities that need to be &-escaped. So we'll do it
    				// here.
    				$replacement = esc_html($replacement);
    			endif;
    		endif;

    I’ve disabled the plugin. The infinite error was slowing site dramatically. I would prefer this to be resolved than to find a replacement, however.

    Help?

    https://ww.wp.xz.cn/plugins/feedwordpress/

The topic ‘Fatal Error’ is closed to new replies.