WordPress.org

Ready to get started?Download WordPress

Forums

FeedWordPress
[resolved] Call to a member function setting() (9 posts)

  1. cms_
    Member
    Posted 1 year ago #

    Hi Charles,

    After upgrading to 2012.1212 today, we're getting the occasional error when the spiders come crawling for /tag/sometag/feed/ URLs.

    2012/12/13 00:47:53 [error] 30914#0: *6683 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to a member function setting() on a non-object in /var/www/progblog/www.progressivebloggers.ca/htdocs/wp-content/plugins/feedwordpress/feedwordpress.php on line 615" while reading response header from upstream, client: 173.35.191.36, server: http://www.progressivebloggers.ca, request: "GET /tag/breast-cancer/feed/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "www.progressivebloggers.ca"

    php5 5.3.19-1~dotdeb.0
    nginx-common 1.2.6-1~dotdeb.0

    Please let me know if any further information is required. Thanks again for your tireless efforts in helping disseminate information far and wide. - Chris

    http://wordpress.org/extend/plugins/feedwordpress/

  2. radgeek
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the heads-up. I'll take a look at this in the morning. Will post here if I need any further information.

  3. radgeek
    Member
    Plugin Author

    Posted 1 year ago #

    Hey there,

    Thanks again for this bug report! I believe that I have identified the source of the error. (It took a bit of chasing to figure out what's going on, but it had to do with the handling of feeds that have been deactivated, but which still have posts from them archived in the wp_posts table.) It should be fixed in the current version of FWP on Github, and will be rolled into the incremental release that I'm putting out on Monday. Tentatively, unless I see it cropping up again, I'll mark this resolved when the new version is released.

    Hope this helps.

    -C

  4. radgeek
    Member
    Plugin Author

    Posted 1 year ago #

    So, just wanted to let you know that the fix for this issue should be available in 2012.1218, released today (announcement here: http://feedwordpress.radgeek.com/2012/12/18/feedwordpress-2012-1218/ , code available through WordPress plugin repository here: http://wordpress.org/extend/plugins/feedwordpress/ or at Github here: https://github.com/radgeek/feedwordpress ). Let me know if this works for you; for the time being, I'll mark this issue as resolved, if that's alright.

    -C

  5. jamtur01
    Member
    Posted 1 year ago #

    I am still seeing this in 2012.1218:

    "PHP Fatal error: Call to a member function setting() on a non-object in /var/www/html/planetdevops/wp-content/plugins/feedwordpress/feedwordpress.php on line 606".

    Server is Nginx with FastCGI.

    WP is 3.5.1.

    Thanks!

    James

  6. another_sam
    Member
    Posted 1 year ago #

    Same error here with WP and the plugin updated.

  7. Svetoslav Marinov
    Member
    Posted 1 year ago #

    I updated the plugin yesterday and got the same error.

    fix: replace this on line #606
    if (!empty($source) && $source->setting('munge comments feed links', 'munge_comments_feed_links', 'yes') != 'no') :

    old
    if ($source->setting('munge comments feed links', 'munge_comments_feed_links', 'yes') != 'no') :

    P.S. To the plugin author: please enable WP debugging while working on the plugin whenever possible. There are lots of notices that show up.

  8. cogdog
    Member
    Posted 10 months ago #

    I cannot thank you enough Svetoslav for this fix! I've been combing for a while trying to find the source of the error.

    This totally cut off the stream to my error log.

  9. spun2u
    Member
    Posted 8 months ago #

    Thanks Svetoslav.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic