Replies: 0
I can’t uses this feature in woocommerce status, because the plugin is causing an error here. Got this from WordPress:
An error of type E_ERROR in line 92 in file /wp-content/plugins/woo-variation-swatches/includes/hooks.php. Message: Uncaught Error: Call to a member function is_type() on bool in /wp-content/plugins/woo-variation-swatches/includes/hooks.php:92
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): Woo_Variation_Swatches->{closure}(0)
#1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wp-content/plugins/woocommerce/includes/wc-product-functions.php(130): do_action(‘woocommerce_del…’, 0)
#4 /wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php(420): wc_delete_product_transients()
#5 /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-status.php(45): WC_REST_System_Status_Tools_V2_Controller->execut