• Resolved serge rauber

    (@kalyx)


    I have this error

    Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to SkyVerge\\WooCommerce\\Facebook\\Admin\\Products::render_google_product_category_fields_and_enhanced_attributes() must be an instance of WC_Product, bool given, called in …./wp-content/plugins/facebook-for-woocommerce/includes/Admin.php on line 1358

    it’s breaking BO on product edit page.

    Solved by adding if…

    if ( $product instanceof \WC_Product ) {
    \SkyVerge\WooCommerce\Facebook\Admin\Products::render_google_product_category_fields_and_enhanced_attributes( $product );
    }

    please update

    thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin bug’ is closed to new replies.