• Resolved sultan912

    (@sultan912)


    Hello,

    We are using the latest version of this plugins, and we keep getting this error Whenever we try to duplicate a product in WooCommerce

    [12-Apr-2022 07:15:05 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_type() on bool in ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:2656
    Stack trace:
    #0 ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php(5078): WSAL_Sensors_WooCommerce->GetProductData(false)
    #1 ~/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->check_product_changes_before_save(Object(WC_Product_Variable), Object(WC_Data_Store))
    #2 ~/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #3 ~/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #4 ~/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1377): do_action('woocommerce_bef...', Object(WC_Product_Variable), Object(WC_Data_Store))
    #5 ~/public_html/wp-conte in ~/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php on line 2656
Viewing 1 replies (of 1 total)
  • Plugin Support robertabela

    (@robert681)

    Hello @sultan912

    We have just uploaded update 1.4.2 of this extension in which we included a fix for this issue. Can you please update our copy? This should do the trick.

    Thank you for your patience and sorry for the inconvenience. Please let us know if there is anything else we can assist you with.

    Have a good day.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error when Duplicating a Product’ is closed to new replies.