• Hi!

    The plugin seems to create a lot of error messages due to calling product attributes directly.

    [error] 32131#32131: *57664 FastCGI sent in stderr: “PHP message: id was called incorrectly. Produktegenskaper skal ikke aksesseres direkte. Backtrace: do_action(‘wp_ajax_nopriv_wcpt_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::add_to_cart, WC_Product_Table_Cart_Handler::add_to_cart, apply_filters(‘woocommerce_add_to_cart_validation’), WP_Hook->apply_filters, WC_Quantities_and_Units_Quantity_Validations->add_to_cart_validation, WC_Quantities_and_Units_Quantity_Validations->validate_single_product, wcqu_get_applied_rule, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    PHP message: id was called incorrectly. Produktegenskaper skal ikke aksesseres direkte. Backtrace: do_action(‘wp_ajax_nopriv_wcpt_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::add_to_cart, WC_Product_Table_Cart_Handler::add_to_cart, apply_filters(‘woocommerce_add_to_cart_validation’), WP_Hook->apply_filters, WC_Quantities_and_Units_Quantity_Validations->add_to_cart_validation, WC_Quantities_and_Units_Quantity_Validations->validate_single_product, wcqu_get_applied_rule, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
    PHP message: id was called incorrectly. Produktegenskaper skal ikke aksesseres direkte. Backtrace: do_action(‘wp_ajax_nopriv_wcpt_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::add_to_cart, WC_Product_Table_Cart_Handler::add_to_cart, apply_filters(‘woocommerce_add_to_cart_validation’), WP_Hook->apply_filters, WC_Quantities_and_Units_Quantity_Validations->add_to_cart_validation, WC_Quantities_and_Units_Quantity_Validations->validate_single_product, wcqu_get_applied_rule, wcqu_get_applied_rule_obj, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP message: id was called incorrectly.’ is closed to new replies.