Id is called incorrectly in Woocommerce
-
Hello, I have a question regarding error in my woocommerce. When i try to create or edit product, it redirected me to HTTP ERROR 500 page. here is the error from the log:
[04-Nov-2020 17:09:41 UTC] id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, Automattic\WooCommerce\Admin\API\Products->get_items, WC_REST_CRUD_Controller->get_items, Automattic\WooCommerce\Admin\API\Products->prepare_object_for_response, WC_REST_Products_V2_Controller->prepare_object_for_response, WC_REST_Products_Controller->get_product_data, WC_REST_Products_V2_Controller->get_product_data, WC_Product_Variable->get_price_html, apply_filters(‘woocommerce_get_price_html’), WP_Hook->apply_filters, SaleBooster\Classes\FrontendHandler::hideShopPrice, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
Please help me with this, thank you
- The topic ‘Id is called incorrectly in Woocommerce’ is closed to new replies.