Product properties should not be accessed directly
-
Hi,
We are getting this error constantly:
stderr: PHP message: variation_id was called incorrectly.
Product properties should not be accessed directly.
Backtrace: do_action(‘wp_ajax_nopriv_loadWooDiscountedDiscountTable’), WP_Hook->do_action, WP_Hook->apply_filters, FlycartWooDiscountRulesPricingRules->getWooDiscountedPriceTableForVariant,
FlycartWooDiscountRulesPricingRules->loadPriceTable, FlycartWooDiscountRulesPricingRules->generateDiscountTableData,
FlycartWoocommerceProduct::get_variant_ids, WC_Product_Variable->get_available_variations, WC_Product_Variable->get_available_variation,
apply_filters(‘woocommerce_available_variation’), WP_Hook->apply_filters, Woo_Show_Product_Discount_Frontend_Manager->discount_percentage_for_single_variation,
WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong.
This message was added in version 3.0., referer: https://www.tartaruguita.pt/produto/babete-tamanho-3/I can’t find exactly where in your plugin to fix it. Can I get help?
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Product properties should not be accessed directly’ is closed to new replies.