Home › Forums › Jevelin Theme › Woocommerce outdated hook
Home › Forums › Jevelin Theme › Woocommerce outdated hook
On my production site, I’m getting this error when trying to add the woocommerce recent products content element (but strangely it doesn’t happen on the staging site):
Notice: The “woocommerce_get_price” hook uses out of date data structures and is deprecated since version 3.1.2! Use woocommerce_product_get_price instead. in /home/xxxxxxxx/public_html/wp-includes/functions.php on line 3831
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/jevelin/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, FW_Shortcode->render, FW_Shortcode->_render, fw_render_view, require(‘/themes/jevelin/framework-customizations/extensions/shortcodes/shortcodes/section/views/view.php’), do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, FW_Shortcode->render, FW_Shortcode->_render, fw_render_view, require(‘/plugins/unyson/framework/extensions/shortcodes/shortcodes/row/views/view.php’), do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, FW_Shortcode->render, FW_Shortcode->_render, fw_render_view, require(‘/themes/jevelin/framework-customizations/extensions/shortcodes/shortcodes/column/views/view.php’), do_short in /home/xxxxxxxx/public_html/wp-includes/functions.php on line 4139
class=”post-11204 product type-product status-publish has-post-thumbnail product_cat-cartoon-books product_tag-cincin product_tag-twitwit product_tag-zunar pif-has-gallery first instock shipping-taxable purchasable product-type-simple”>
Solution for this topic
Sorry, ignore this one. It’s caused by a woocommerce plugin actually. Sorry for the false alarm ^_^
Not an issue at all. Great to see you got that found.
Please advise if you have more questions.
Have a fantastic day!