plugin warnings
-
Hi, we get warnings when plugin is used, like “id was called incorrectly. Product properties should not be accessed directly… Backtrace: do_action(‘wp_ajax_nopriv_wfg_add_gifts’), WP_Hook->do_action, WP_Hook->apply_filters, WFG_Frontend->wfg_ajax_add_free_gifts, WFG_Product_Helper::add_free_product_to_cart, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0”
the problem is that until warnings get’s logged there is a delay in the site performance and it looks like the page is freezed, so many reload the page.
Can you please check the code to be compatible with woo?
best regards,
- The topic ‘plugin warnings’ is closed to new replies.