• Resolved eminaza

    (@eminaza)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Just to check: How are you creating products – is this through the normal route in the WordPress admin area or are you using the WooCommerce REST API?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @eminaza. We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Id is called incorrectly in Woocommerce’ is closed to new replies.