• 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

Viewing 1 replies (of 1 total)
  • I’m getting the same error when editing a page with elementor. What I did was disable the plugin while editing the page in elementor then re-activate the plugin and the frontend works fine. Also getting errors when using the type=”link” in the shortcode, button works though. Would love a fix to this plugin. It functions as expected otherwise.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.