Compare button shortcode brakes single product template
-
Hello there,
In order to edit single product page template I have to disable Shoplentor’s “Compare” addon, otherwise elementor does not load and shows the error below
Uncaught Error: Call to a member function get_id() on null in /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-content/plugins/woolentor-addons/includes/modules/compare/includes/classes/Frontend/Shortcode.php:78 Stack trace: #0 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-includes/shortcodes.php(355): EverCompare\Frontend\Shortcode->button_shortcode() #1 [internal function]: do_shortcode_tag() #2 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-includes/shortcodes.php(227): preg_replace_callback() #3 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-includes/class-wp-hook.php(308): do_shortcode() #4 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-includes/post-template.php(255): apply_filters() #6 /home/843232.cloudwaysapps.com/swqqphmpna/public_html/wp-content/themes/hello-elementor/template-parts/single.php(23): the_content() #7 /home/843232.cloudwaysapps
I’m using the latest Shoplentor Pro, Elementor 3.14.0 and WordPress 6.2.2 with the “Hello” elementor theme.
Thanks in advance!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Compare button shortcode brakes single product template’ is closed to new replies.