Support » Plugin: Simple Facebook OG image » Update went awry

  • LifesABargain

    (@lifesabargain)


    Had an update notification. I updated and went to continue working on blog posts. When I hit preview a blog post it gave me this error: Fatal error: Call to undefined function is_plugin_active() in [removed]/wp-content/plugins/simple-facebook-og-image/simple-facebook-ogimage.php on line 74

    Deactivated the plugin to resume working. Any insight appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Adding include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); resolved it for me.

    Before (line 74):

    // Support for Embedly
    if( empty($og_image) && is_plugin_active(’embedly/embedly.php’) ) {

    After:

    include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

    // Support for Embedly
    if( empty($og_image) && is_plugin_active(’embedly/embedly.php’) ) {

    Plugin Author antubis

    (@antubis)

    Hi,

    I’m not sure why you get this error. Can you tell me the name of the theme you have installed and also the WordPress version? The error you see is because a function I use cannot be found BUT this function is part of the core WordPress plugins so it should be available everywhere.

    Regards

    LifesABargain

    (@lifesabargain)

    Hi antubis,

    I’m using WordPress 4.6.1 and the theme is Magazine by Themify.me

    Thank you

    PthPndr

    (@pthpndr)

    We are having the same problem. Running WP 4.6.1 and the Divi theme.

    Plugin Author antubis

    (@antubis)

    Hi,

    The plugin is updated and the issue is fixed. Apologies for anyone affected by it. You can update the plugin to version 1.3.1

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update went awry’ is closed to new replies.