Fatal Error
-
Hello Supportteam,
the plugin does not work with my Wocommerce installation. I would only like to use the shortcode generator for specific products. Once I fill in the shortcode in a testsite, and click on publish I receive this error message below.
Can you help with that?
Thanks in advance
Bernd
Fatal error: Uncaught Error: Call to a member function get_cart() on null in /homepages/15/d734745845/htdocs/app734992174/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php:50 Stack trace: #0 /homepages/15/d734745845/htdocs/app734992174/wp-content/plugins/woocommerce-quick-buy/includes/class-frontend.php(120): wc_qb_product_in_cart(348) #1 /homepages/15/d734745845/htdocs/app734992174/wp-content/plugins/woocommerce-quick-buy/includes/class-shortcode.php(54): WooCommerce_Quick_Buy_FrontEnd->generate_button(Array) #2 /homepages/15/d734745845/htdocs/app734992174/wp-includes/shortcodes.php(319): WooCommerce_Quick_Buy_Shortcode->add_quick_buy_button(Array, ”, ‘wc_quick_buy’) #3 [internal function]: do_shortcode_tag(Array) #4 /homepages/15/d734745845/htdocs/app734992174/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(wc_qui…’, ‘do_shortcode_ta…’, ‘[wc_quick_buy …’) #5 /homepages/15/d734745845/htdocs/app734992174/wp-includes/class-wp-hook.php(286): do_shortcode(‘[wc_quick_buy …’) in /homepages/15/d734745845/htdocs/app734992174/wp-content/plugins/woocommerce-quick-buy/includes/common-functions.php on line 50
- The topic ‘Fatal Error’ is closed to new replies.