( ! ) Notice: Function sale_price was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/single-product.php'), wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-single-product.php'), do_action('woocommerce_after_single_product'), WP_Hook->do_action, WP_Hook->apply_filters, Actionable_Google_Analytics_Public->product_detail_view, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.0.) in /home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-includes/functions.php on line 5831 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 702408 | {main}( ) | .../index.php:0 |
2 | 0.0011 | 702720 | require( '/home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 0.6716 | 43015824 | require_once( '/home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.6838 | 43867848 | include( '/home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-content/plugins/woocommerce/templates/single-product.php ) | .../template-loader.php:106 |
5 | 1.0706 | 55934152 | wc_get_template_part( $slug = 'content', $name = 'single-product' ) | .../single-product.php:37 |
6 | 1.0706 | 55934392 | load_template( $_template_file = '/home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-content/plugins/woocommerce/templates/content-single-product.php', $require_once = FALSE, $args = ??? ) | .../wc-core-functions.php:284 |
7 | 1.0706 | 55934712 | require( '/home/180740.cloudwaysapps.com/nkacdzkhfe/public_html/wp-content/plugins/woocommerce/templates/content-single-product.php ) | .../template.php:772 |
8 | 1.1418 | 56292608 | do_action( $hook_name = 'woocommerce_after_single_product' ) | .../content-single-product.php:76 |
9 | 1.1418 | 56292984 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:476 |
10 | 1.1418 | 56292984 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:331 |
11 | 1.1418 | 56294144 | Actionable_Google_Analytics_Public->product_detail_view( '' ) | .../class-wp-hook.php:307 |
12 | 1.1420 | 56294800 | WC_Abstract_Legacy_Product->__get( $key = 'sale_price' ) | .../class-actionable-google-analytics-public.php:1285 |
13 | 1.1420 | 56294800 | wc_doing_it_wrong( $function = 'sale_price', $message = 'Product properties should not be accessed directly.', $version = '3.0' ) | .../abstract-wc-legacy-product.php:72 |
14 | 1.1420 | 56295440 | _doing_it_wrong( $function = 'sale_price', $message = 'Product properties should not be accessed directly. Backtrace: require(\'wp-blog-header.php\'), require_once(\'wp-includes/template-loader.php\'), include(\'/plugins/woocommerce/templates/single-product.php\'), wc_get_template_part, load_template, require(\'/plugins/woocommerce/templates/content-single-product.php\'), do_action(\'woocommerce_after_single_product\'), WP_Hook->do_action, WP_Hook->apply_filters, Actionable_Google_Analytics_Public->product_detail_view, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong', $version = '3.0' ) | .../wc-deprecated-functions.php:118 |
15 | 1.1421 | 56297552 | trigger_error( $message = 'Function sale_price was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: require(\'wp-blog-header.php\'), require_once(\'wp-includes/template-loader.php\'), include(\'/plugins/woocommerce/templates/single-product.php\'), wc_get_template_part, load_template, require(\'/plugins/woocommerce/templates/content-single-product.php\'), do_action(\'woocommerce_after_single_product\'), WP_Hook->do_action, WP_Hook->apply_filters, Actionable_Google_Analytics_Public->pr', $error_level = 1024 ) | .../functions.php:5831 |
Reviews
There are no reviews yet.