Resolved

Got error ‘PHP message: variation_id was called incorrectly.

zurita86
September 11, 2020 at 4:06 am

When I choose a variation from a product my PHP Error Log get some lines of errors. My site its to slow and my hosting support tell me that is because this error.

Thu Sep 10 14:28:49.292240 2020] [proxy_fcgi:error] [pid 5070] [client 170.150.156.42:38876] AH01071:
Got error ‘PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente.

Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’),
WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select,
WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation,
apply_filters(‘woocommerce_available_variation’),
WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation,
WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong.

This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente.
Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’),
WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select,
WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation,
apply_filters(‘woocommerce_available_variation’),
WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation,
WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong.

This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: variation_id was called incorrectly. No se deber\xc3\xada acceder a las propiedades del producto directamente. Backtrace: do_action(‘wp_ajax_nopriv_product_variation_image_select’), WP_Hook->do_action, WP_Hook->apply_filters, manami_ajax_product_variation_image_select, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation, apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, MBJ_Min_Max_Quantities_For_WooCommerce->available_variation, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.’, referer: https://www.maxbelleza.cl/producto/mond-sub-mascara-facial/

2 Replies

zurita86
September 11, 2020 at 4:18 am

Sorry I got that the problem is related to a plugin.

SA
Sajib (Staff)
September 20, 2020 at 9:13 am

It’s ok. Let me know if you have any further questions.

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.