Проблема с regular_price was called incorrectly
-
В Логах сайта масса ошибок, как мне кажется какие-то выражения в коде устарели. Может кто-то подскажет где копать. Буду очень признателен! Знаний не хватает.
id was called incorrectly Backtrace: do_action(‘wp_ajax_wcpt_load_products’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::load_products, WC_Product_Table->get_data, WC_Product_Table->fetch_data, WC_Product_Table->add_products_to_table, array_walk, WC_Product_Table->add_product_data, Product_Table_Data_Image->get_data, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
regular_price was called incorrectly Backtrace: do_action(‘wp_ajax_wcpt_load_products’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::load_products, WC_Product_Table->get_data, WC_Product_Table->fetch_data, WC_Product_Table->add_products_to_table, array_walk, WC_Product_Table->add_product_data, Product_Table_Data_Price->get_data, WC_Product->get_price_html, apply_filters(‘woocommerce_get_price_html’), WP_Hook->apply_filters, my_simple_product_price_html, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
sale_price was called incorrectly Backtrace: do_action(‘wp_ajax_wcpt_load_products’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::load_products, WC_Product_Table->get_data, WC_Product_Table->fetch_data, WC_Product_Table->add_products_to_table, array_walk, WC_Product_Table->add_product_data, Product_Table_Data_Price->get_data, WC_Product->get_price_html, apply_filters(‘woocommerce_get_price_html’), WP_Hook->apply_filters, my_simple_product_price_html, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
price was called incorrectly. Backtrace: do_action(‘wp_ajax_wcpt_load_products’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Product_Table_Ajax_Handler::load_products, WC_Product_Table->get_data, WC_Product_Table->fetch_data, WC_Product_Table->add_products_to_table, array_walk, WC_Product_Table->add_product_data, Product_Table_Data_Price->get_data, WC_Product->get_price_html, apply_filters(‘woocommerce_get_price_html’), WP_Hook->apply_filters, my_simple_product_price_html, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
- Тема «Проблема с regular_price was called incorrectly» закрыта для новых ответов.