• Hey there,

    We are getting this error with the product even though there is no shortcode present. The error appears at the bottom of the product page with the theme Twenty Twenty-Four. If we disable your plugin the error doesn’t appear.

    Here is the error:
    Notice: Function 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(‘wp-includes/template-canvas.php’), get_the_block_template_html, do_blocks, render_block, WP_Block->render, apply_filters(‘render_block’), WP_Hook->apply_filters, Automattic\WooCommerce\Blocks\Templates\AbstractTemplateCompatibility->Automattic\WooCommerce\Blocks\Templates\{closure}, Automattic\WooCommerce\Blocks\Templates\SingleProductTemplateCompatibility->inject_hooks, Automattic\WooCommerce\Blocks\Templates\SingleProductTemplateCompatibility->inject_hook_to_first_and_last_blocks, Automattic\WooCommerce\Blocks\Templates\AbstractTemplateCompatibility->get_hooks_buffer, do_action(‘woocommerce_after_single_product’), WP_Hook->do_action, WP_Hook->apply_filters, ShapedPlugin\WooProductSliderPro\Admin\Admin->sp_wpsp_set_products_view_count, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /data/staging/wp-includes/functions.php on line 6121

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Notice: Function id was called incorrectly’ is closed to new replies.