error to try load variation products
-
hi team, we have the following error when try to load variation, now we disable variation products and its is working fine
[13-Nov-2020 12:34:27 UTC] PHP Notice: Undefined index: context in /home/ntsscoma/bicipartesalvarez.com.ar/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-controller.php on line 529
[13-Nov-2020 12:34:27 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_route() on array in /home/ntsscoma/bicipartesalvarez.com.ar/wp-content/plugins/woocommerce-wholesale-prices/includes/api/v1/class-wwp-rest-api-wholesale-products-v1-controller.php:372
Stack trace:
#0 /home/ntsscoma/bicipartesalvarez.com.ar/wp-content/plugins/woocommerce-wholesale-prices/includes/api/v1/class-wwp-rest-api-wholesale-products-v1-controller.php(219): WWP_REST_Wholesale_Products_V1_Controller::is_wholesale_endpoint(Array)
#1 /home/ntsscoma/bicipartesalvarez.com.ar/wp-includes/class-wp-hook.php(287): WWP_REST_Wholesale_Products_V1_Controller->add_wholesale_data_on_response(Object(WP_REST_Response), Object(WC_Product_Variation), Array)
#2 /home/ntsscoma/bicipartesalvarez.com.ar/wp-includes/plugin.php(206): WP_Hook->apply_filters(Object(WP_REST_Response), Array)
#3 /home/ntsscoma/bicipartesalvarez.com.ar/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php(98): apply_filters(‘woocommerce_res in /home/ntsscoma/bicipartesalvarez.com.ar/wp-content/plugins/woocommerce-wholesale-prices/includes/api/v1/class-wwp-rest-api-wholesale-products-v1-controller.php on line 372
- The topic ‘error to try load variation products’ is closed to new replies.