Product properties should not be accessed directly
-
hello After installing the plugin, I get such an error on the error log page, please help me
[31-Aug-2024 11:22:23 ] PHP Notice: Function product_type 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/jannah/single.php’), get_sidebar, locate_template, load_template, require_once(‘/themes/jannah/sidebar.php’), dynamic_sidebar, WP_Widget->display_callback, WP_Widget_Custom_HTML->widget, apply_filters(‘widget_text’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, ShapedPlugin\WooProductSlider\Frontend\Frontend->wps_shortcode, ShapedPlugin\WooProductSlider\Frontend\Helper::spwps_html_show, include(‘/plugins/woo-product-slider/src/Frontend/views/templates/carousel.php’), require(‘/plugins/woo-product-slider/src/Frontend/views/templates/custom/custom.php’), require(‘/plugins/woo-product-slider/src/Frontend/views/templates/loop/price.php’), WC_Product->get_price_html, apply_filters(‘woocommerce_get_price_html’), W in /home2/…./domains/…./public_html/wp-includes/functions.php on line 6085
- You must be logged in to reply to this topic.