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

  1. Vlad Lasky
    Posted 3 years ago #

    Version 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))


  2. bemcapaz
    Plugin Author

    Posted 3 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

  • SEO Facebook Comment
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic