WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Catchable fatal error: Object of class stdClass could not (21 posts)

  1. mannuforall
    Member
    Posted 2 years ago #

    Today I just updated to new Yet Another Related Posts Plugin Options 3.5 version and just after this I'm getting following error on all posts:
    Catchable fatal error: Object of class stdClass could not be converted to string in /hermes/......../..................../wp-includes/formatting.php on line 805

    My blog is dl.readforgreed.com and this problem is not in homepage and pages, but only in posts.

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. DanStudio
    Member
    Posted 2 years ago #

    i'm facing exactly the same problem at indiebirdie.ru. So unfortunately had to switch it off for a while.

    using WordPress 3.3.1

  3. mannuforall
    Member
    Posted 2 years ago #

    Ya, I also deactivated it and error fixed.
    But we need a proper solution.

  4. Truth
    Member
    Posted 2 years ago #

    Got this error too after the upgrade:
    Warning: strtolower() expects parameter 1 to be string, object given in wp-includes/formatting.php on line 805

  5. nicosonline
    Member
    Posted 2 years ago #

    Same here. I hope it will be fixed soon :)

  6. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks all for your reports. Was this displayed on your posts or in the admin area?

  7. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Also, in case any of you know off the top of your head: what version of PHP are you running on your servers?

  8. nicosonline
    Member
    Posted 2 years ago #

    Thanks for looking into it Michael!

    Not quite sure about the PHP version my server is running but I can tell you the error was display in the post, right where the related posts are supposed to be displayed.

  9. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Ah!! Nevermind. I believe I've identified the issue. Just to check: I believe all of you (a) are calling related_posts() or related_pages() directly from your theme and (b) have the "display results from all post types" option turned on.

    Working on a fix now.

  10. nicosonline
    Member
    Posted 2 years ago #

    (a) and (b) are correct in my case...

  11. Maikel van de Weerd
    Member
    Posted 2 years ago #

    I have the same problem.

    i use related_entries() in my theme and (b) is correct.

    My php version is 5.3

  12. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Alright, I believe I've resolved the issue. Here's a new beta (3.5.1b1):

    http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.5.1b1.zip

    Please try this version and let me know if that fixes the issue or if you notice anything else. Thank you all!

  13. Maikel van de Weerd
    Member
    Posted 2 years ago #

    Thanks, this works for me.

  14. nicosonline
    Member
    Posted 2 years ago #

    It works for me too, thanks!

  15. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Okay. I'll probably wait for a couple more replies before pushing it as 3.5.1.

  16. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Okay... I couldn't wait, so I just pushed 3.5.1. :D Thanks all for your feedback!

  17. mannuforall
    Member
    Posted 2 years ago #

    Thanks for fast action. Its working fine now.

  18. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Great!

  19. onepack
    Member
    Posted 2 years ago #

    I'have the option set in the yarpp settings to display related post types and I call the plugin directly from within my "single" template with: related_posts();

    Still nothing shows...

    Permalinks and Yarpp have been saved again and cache is cleared.
    Yarpp version 3.5.1
    WP 3.3.1

  20. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    @onepack that is not the topic of this thread. Please start another thread.

  21. onepack
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic