WordPress.org

Ready to get started?Download WordPress

Forums

SEO Facebook Comment
[resolved] 1.4.2.1 breaks sites without thumbnails enabled in the theme (2 posts)

  1. Vlad Lasky
    Member
    Posted 2 years ago #

    Version 1.4.2.1 causes the following error to be generated, when you are using a theme without post thumbnail support enabled:

    "Fatal error: Call to undefined function has_post_thumbnail()"

    The fix is to change line 1410 in plulz/lib/Model/PlulzFacebookAbstract.php to read

    if (function_exists('has_post_thumbnail') && has_post_thumbnail($post->ID))

    http://wordpress.org/extend/plugins/seo-facebook-comments/

  2. bemcapaz
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Vlasky, you are correct, this part of the code is breaking on WordPress versions bellow the 2.9, the correction is already implemented and will be released in the next update of the plugin (hope have it ready for today or, at max, tomorrow)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic