Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m having the same issue. Woocommerce is enabled on my site as well.

    Plugin Author ZealousWeb

    (@zealopensource)

    Hello,

    This message will be showed only when WooCommerce will not be enabled. Please recheck it.

    Thanks,
    ZealousWeb

    I found solution how to fix it.

    Into woocommerce-embed-videos-product-image-gallery.php file into plugin folder
    update these lines of code

    if ( !in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
        wp_die( __( '<b>Warning</b> : Install/Activate Woocommerce to activate "Embed Videos To Product Image Gallery" plugin', 'woocommerce' ) );
    }

    on to

    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
    
    if ( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
        wp_die( __( '<b>Warning</b> : Install/Activate Woocommerce to activate "Embed Videos To Product Image Gallery" plugin', 'woocommerce' ) );
    }
    Plugin Author ZealousWeb

    (@zealopensource)

    Hello tomaslee,

    Thank you for your help and cooperation in solving this issue. We will sort it out in next release version.

    Thanks,
    ZealousWeb

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't active plugin’ is closed to new replies.