• Resolved marshallwayne

    (@marshallwayne)


    The Facebook plugin installed just fine.

    The comments, and “Like” box work.

    However, when I try to publish, and have it posted to my Facebook page, and fan page, it gives me this:

    Fatal error: Call to undefined function get_post_thumbnail_id() in /home/stopmar/public_html/wp-content/plugins/facebook/fb-social-publisher.php on line 193

    I hope someone can help.

    Thank you.

    https://www.ads-software.com/extend/plugins/facebook/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    The get_post_thumbnail_id() function has been in WordPress since version 2.9.

    The plugin requires WordPress version 3.1.1 or higher. Upgrade.

    If you have upgraded, then make sure that you have all the correct core WordPress files and aren’t running some kind of bad upgrade in some way.

    Thread Starter marshallwayne

    (@marshallwayne)

    Hmmmm….

    I have the latest upgrade.

    I completely deleted my blog last night, and reinstalled within my Host Gator cPanel, so I could start fresh.

    So I don’t have any conflicting plugins at the moment either, and the only posts are posts to test this plugin.

    I’m not sure what to do.

    Thread Starter marshallwayne

    (@marshallwayne)

    I think it may be that when I try to submit my publish actions for review in the Facebook Developers dashboard, I get this:

    You must publish at least one action to your Timeline using this action type. Review the documentation.

    I’m not sure how to publish an action, unless it means I can just manually enter my link to my page, or fan page.

    Adding this to functions.php – add_theme_support( ‘post-thumbnails’ ); – stopped the undefined function error. But I can’t get “Publish to author’s Timeline” to stay checked, and the posts don’t show up in the timeline.

    Thread Starter marshallwayne

    (@marshallwayne)

    Thank you for that tip. I added that section to functions.php, but just like you, I’m not seeing the posts show up in the timeline.

    Thread Starter marshallwayne

    (@marshallwayne)

    It’s posts to a friends wall now if I tag the friend, so that’s a step.

    Hm…I’m getting the same undefined function error, and also recently upgraded. How does one go about doing this particular advice:

    “make sure that you have all the correct core WordPress files and aren’t running some kind of bad upgrade in some way. ”

    Jason A

    (@jasonlanderson)

    I noticed this was put as resolved, but I see the post from 2 hours ago seems to be have an issue. I just enabled this plugin as well now and get this error when I attempt to publish a post.

    No post shows on the timeline and I get this screen right after publishing.

    Fatal error: Call to undefined function get_post_thumbnail_id() in /home/gstyle/public_html/wp-content/plugins/facebook/fb-social-publisher.php on line 193

    Can someone let me know what the resolution of this is. I have the latest WordPress version, and all the core files are fine.

    Thanks

    Thread Starter marshallwayne

    (@marshallwayne)

    I simply did what speechpoet laid down, and that worked perfectly:

    Adding this to functions.php – add_theme_support( ‘post-thumbnails’ ); – stopped the undefined function error.

    …so, go to your Appearance tab, then to Editor.

    You’ll then click on, “Theme Functions” which will be functions.php

    Under, “// Theme specific functionality”, I added this:

    add_theme_support( ‘post-thumbnails’ );

    I’m trying to correct the same problem (I think…)

    Fatal error: Wrong parameters for Exception([string $exception [, long $code ]]) in /home/content/37/9099637/html/wp-content/plugins/facebook/includes/facebook-php-sdk/base_facebook.php on line 54

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Facebook] Fatal Error’ is closed to new replies.