Hello, if in cart can only 1 quantity product in order, then buttons plus and minus hide
]]>hello there, since update wp to 6.5 i have 2 similar fatal error on the cart page :
Fatal error: Uncaught Error: Call to a member function get_manage_stock() on null
in /home/trottandgo/public_html/wp-content/plugins/product-quantity-updater/public/class-tgqb-public.php on line 153
Call stack:
Tgqb_Public::wooqb_display_quantity_plus()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-content/plugins/woocommerce/templates/global/quantity-input.php:61
include()
wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1839
woocommerce_quantity_input()
wp-content/plugins/woocommerce/templates/cart/cart.php:122
include()
wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
wc_get_template()
wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php:99
WC_Shortcode_Cart::output()
wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php:72
WC_Shortcodes::shortcode_wrapper()
wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php:85
WC_Shortcodes::cart()
wp-includes/shortcodes.php:433
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/plugins/elementor-pro/modules/woocommerce/widgets/cart.php:2651
ElementorPro\M\W\W\Cart::render()
wp-content/plugins/elementor/includes/base/controls-stack.php:2321
Elementor\Controls_Stack::render_by_mode()
wp-content/plugins/elementor/includes/base/widget-base.php:634
Elementor\Widget_Base::render_content()
wp-content/plugins/elementor/includes/base/widget-base.php:775
Elementor\Widget_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/includes/base/element-base.php:1375
Elementor\Element_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/core/base/document.php:1795
Elementor\C\B\Document::print_elements()
wp-content/plugins/elementor/core/base/document.php:1183
Elementor\C\B\Document::print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:1165
Elementor\Frontend::get_builder_content()
wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php:271
ElementorPro\M\T\W\Post_Content::render_post_content()
wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php:111
ElementorPro\M\T\W\Post_Content::render()
wp-content/plugins/elementor/includes/base/controls-stack.php:2321
Elementor\Controls_Stack::render_by_mode()
wp-content/plugins/elementor/includes/base/widget-base.php:634
Elementor\Widget_Base::render_content()
wp-content/plugins/elementor/includes/base/widget-base.php:775
Elementor\Widget_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/includes/base/element-base.php:1375
Elementor\Element_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/core/base/document.php:1795
Elementor\C\B\Document::print_elements()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:412
ElementorPro\M\T\D\Theme_Document::print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:1165
Elementor\Frontend::get_builder_content()
wp-content/plugins/elementor/core/base/document.php:1231
Elementor\C\B\Document::get_content()
wp-content/plugins/elementor/modules/library/documents/library-document.php:76
Elementor\M\L\D\Library_Document::get_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:158
ElementorPro\M\T\D\Theme_Document::get_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:173
ElementorPro\M\T\D\Theme_Document::print_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php:93
ElementorPro\M\T\D\Single_Base::print_content()
wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php:364
ElementorPro\M\T\C\Locations_Manager::do_location()
wp-content/plugins/elementor-pro/modules/theme-builder/api.php:13
elementor_theme_do_location()
wp-content/themes/hello-elementor/index.php:20
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17
Fatal error: Uncaught Error: Call to a member function get_manage_stock() on null
in /home/trottandgo/public_html/wp-content/plugins/product-quantity-updater/public/class-tgqb-public.php on line 124
Call stack:
Tgqb_Public::wooqb_display_quantity_minus()
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:348
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-content/plugins/woocommerce/templates/global/quantity-input.php:34
include()
wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1839
woocommerce_quantity_input()
wp-content/plugins/woocommerce/templates/cart/cart.php:122
include()
wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
wc_get_template()
wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php:99
WC_Shortcode_Cart::output()
wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php:72
WC_Shortcodes::shortcode_wrapper()
wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php:85
WC_Shortcodes::cart()
wp-includes/shortcodes.php:433
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/plugins/elementor-pro/modules/woocommerce/widgets/cart.php:2651
ElementorPro\M\W\W\Cart::render()
wp-content/plugins/elementor/includes/base/controls-stack.php:2321
Elementor\Controls_Stack::render_by_mode()
wp-content/plugins/elementor/includes/base/widget-base.php:634
Elementor\Widget_Base::render_content()
wp-content/plugins/elementor/includes/base/widget-base.php:775
Elementor\Widget_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/includes/base/element-base.php:1375
Elementor\Element_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/core/base/document.php:1795
Elementor\C\B\Document::print_elements()
wp-content/plugins/elementor/core/base/document.php:1183
Elementor\C\B\Document::print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:1165
Elementor\Frontend::get_builder_content()
wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php:271
ElementorPro\M\T\W\Post_Content::render_post_content()
wp-content/plugins/elementor-pro/modules/theme-builder/widgets/post-content.php:111
ElementorPro\M\T\W\Post_Content::render()
wp-content/plugins/elementor/includes/base/controls-stack.php:2321
Elementor\Controls_Stack::render_by_mode()
wp-content/plugins/elementor/includes/base/widget-base.php:634
Elementor\Widget_Base::render_content()
wp-content/plugins/elementor/includes/base/widget-base.php:775
Elementor\Widget_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/includes/base/element-base.php:1375
Elementor\Element_Base::print_content()
wp-content/plugins/elementor/includes/base/element-base.php:464
Elementor\Element_Base::print_element()
wp-content/plugins/elementor/core/base/document.php:1795
Elementor\C\B\Document::print_elements()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:412
ElementorPro\M\T\D\Theme_Document::print_elements_with_wrapper()
wp-content/plugins/elementor/includes/frontend.php:1165
Elementor\Frontend::get_builder_content()
wp-content/plugins/elementor/core/base/document.php:1231
Elementor\C\B\Document::get_content()
wp-content/plugins/elementor/modules/library/documents/library-document.php:76
Elementor\M\L\D\Library_Document::get_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:158
ElementorPro\M\T\D\Theme_Document::get_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:173
ElementorPro\M\T\D\Theme_Document::print_content()
wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php:93
ElementorPro\M\T\D\Single_Base::print_content()
wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php:364
ElementorPro\M\T\C\Locations_Manager::do_location()
wp-content/plugins/elementor-pro/modules/theme-builder/api.php:13
elementor_theme_do_location()
wp-content/themes/hello-elementor/index.php:20
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17
]]>
Hello there, i’ve made the last update of the plugin because i had an issue with the plugin : the buttons + and — are displayed on product who have 1 quantity in stock. So they are useless and nothing happen when we click on them :
But during the update i see and error related to this file :
product-quantity-updater/wooqb.php
And now the plugin is enabled but not working and not appear on the “WooCommmerce” menu. I completly uninstall and install again the plugin but issue still here
regards
]]>Hello there,
First, it seems your plugin is exactly what I’m looking for so thanks !
However, I would like to reduce the size of the button, the color and increase the size of the +-.
Could you please help me?
Thanks,
Steve