• Resolved gratituderocksme

    (@gratituderocksme)


    I tried the Facebook Thumb Fixer plug-in and it wasn’t working so I deactivated and deleted it.

    From the Facebook, I now get the following error message when I post a link to my WordPress blog:

    ‘Call to undefined function has_post_thumbnail() in /home/gratituderocks/gratituderocks.org/wp-content/plugins/facebook-thumb-fixer/_facebook-thumb-fixer.php on line 139’

    I get the same error from the Open Graph Object Debugger under og:description.

    I have re-installed, deactivated, and deleted this plug-in repeatedly. I also FTP’d to the directory and no directory existed any more for that plug-in.

    How do I fix this problem (at least so the error does not appear any more)?

    https://wordpress.org/plugins/facebook-thumb-fixer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Ott

    (@mikeyott)

    Hi gratituderocksme,

    It looks like Facebook indexed your open graph meta info while it was in a state of error (though I’m not sure why you were getting that error).

    Anyway it’s easily fixed and I’ve just done it for you now. With the plugin deactivated you just need to go to Facebook’s official debugger page (https://developers.facebook.com/tools/debug/) and put in your website address. This sill force Facebook to re-index the open graph data of your page.

    As mentioned I’ve just done this now for you and it appears now that when your site is shared on Facebook the error message has vanished.

    I’m sorry the plugin didn’t work for you.

    Good luck.

    Plugin Author Michael Ott

    (@mikeyott)

    Side note: I think you were getting that error because your theme doesn’t have post thumbnail support. If you add this line to your theme functions.php file…

    add_theme_support('post-thumbnails');

    …the error might go away.

    That being said, in the next update I’ll add a check to see if the users theme has post thumbnail support, and display a message to advise them.

    Thread Starter gratituderocksme

    (@gratituderocksme)

    Thank you so much for your reply and help.

    Yes, I will add that line to my functions.php file and try using your plug-in again.

    Have a wonderful evening and thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deactivated and deleted Facebook Thumb Fixer plug-in but still get error message’ is closed to new replies.