Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Andrew Ryno

    (@andrewryno)

    Hi Corinne,

    That was a bug on my end, sorry about that. I’ll probably be pushing another version tonight to fix it, but it’s minor other than the PHP warning that it outputs (plugin still works). For your production site, this shouldn’t be outputted though. I’d recommend looking into your wp-config.php file and setting ‘WP_DEBUG’ to false (again, assuming this site is in production).

    If you want to fix it in the meantime, and are comfortable with PHP, you can change line 90 in wp-facebook-ogp.php to use ‘wpfbogp_flush_ob’ instead of ‘wpfbogp_end_ob’. Otherwise you can just wait for the update.

    Thanks,
    Andrew

    Thread Starter Corinne

    (@cityheadache)

    That’s odd. Debug is already set to false in my config file. No worries though, I’ll just wait for the update! Thanks for the quick reply.

    Hi,

    I’m having the same issue after upgrading (disabling the plugin removes the error).

    I’m not keen on digging into the config file so I’ll just wait for the fix also.

    Thanks guys

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wpfbogp_end_ob’ not found or invalid function name in /home/bostonte/public_html/wp-includes/plugin.php on line 405

    If you want to fix it in the meantime, and are comfortable with PHP, you can change line 90 in wp-facebook-ogp.php to use ‘wpfbogp_flush_ob’ instead of ‘wpfbogp_end_ob’. Otherwise you can just wait for the update.

    Found Line 90 :
    add_action( 'wp_footer', 'wpfbogp_end_ob', 10000 ); // Fire after other plugins (which default to priority 10)

    Change for :
    add_action( 'wp_footer', 'wpfbogp_flush_ob', 10000 ); // Fire after other plugins (which default to priority 10)

    Working for me.
    Thank you Andrew.

    Have the same exact issue, happy to hear an update’s on the way. Will stay tuned ??

    If you want to fix it in the meantime, and are comfortable with PHP, you can change line 90 in wp-facebook-ogp.php to use ‘wpfbogp_flush_ob’ instead of ‘wpfbogp_end_ob’.

    Thanks, it works!

    Plugin Contributor Andrew Ryno

    (@andrewryno)

    Just pushed 2.0.2 that fixes this bug.

    Awesome!

    perfect! thanks

    Hey Andrew,

    I just updated teh plugin.

    I’m not so sure why, these days most of the links I add from my wordpress blog onto my facebook page, they don’t show up the picture/description of the post. Is it something to do with the plugin bug which was there in the last version?

    Check this – https://imgur.com/Cketc
    https://imgur.com/GD9rP
    https://imgur.com/mDRw3

    In the backend of the plugin, I’ have entered by Facebook page id and left the app id field blank.

    Will be great if you can let me know a solution for this? The number of hits through Facebook make a huge difference for us. And the ones without the description don’t get any hits.

    Cheers.

    Plugin Contributor Andrew Ryno

    (@andrewryno)

    Looking at the meta data that the plugin is outputting, the problem is that you inputted the actual facebook page URL into the box, not the id. Unfortunately FB removed support for using page ID’s, so you will either have to setup an application (though https://developers.facebook.com) or use your personal account ID (found via https://graph.facebook.com/usernamehere).

    I deleted the application yesterday because it serve any purpose.

    “id”: “11642269513xxxx”,
    “name”: “Social xxxxxx”,
    “cover_id”: 18907198120xxxx,

    I should be using the first one right?

    Plugin Contributor Andrew Ryno

    (@andrewryno)

    You used to be able to, but Facebook removed support for using page ids (because they removed Insights for pages, I think) so your only options are using your personal account ID or application ID.

    Thats strange. Using a personal profile id wouldn’t do any harm ?

    Plugin Contributor Andrew Ryno

    (@andrewryno)

    Nope. You’d just see all the like/share/etc. analytics under that account rather under the page.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: WP Facebook Open Graph protocol] call_user_func_array error on latest update’ is closed to new replies.