• Hey, 1ts off awesome plugin!

    I’ve started to see a lot of notices (php) coming from this plugin in reared to accessing product id directly, product_type use…

    id was called incorrectly. Product properties should not be accessed directly.


    Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_get_variation’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::get_variation, WC_Product_Variable->get_available_variation, WC_Product->get_price_html, WC_Product->get_price_suffix, apply_filters(‘woocommerce_get_price_suffix’), WP_Hook->apply_filters, WC_Quantities_and_Units_Product_Unit->get_price_suffix, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.

    When the Plugin is disabled all the notices go away.

    Any Help on this is Appreciated?

    Thanks!

The topic ‘Notices showing’ is closed to new replies.