Cannot scroll after clicking on add to cart when ajax is enabled
-
Hi!
When i click on “Add to cart” button when ajax is enabled for the same, the scrollbar disappears and i cannot scroll unless i click on some other link or refresh the page.I also found that i have got fatal error in woo commerce logs. I dont know if it is related to the problem i am facing but here it is:
2022-04-21T05:06:30+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:140 Stack trace: #0 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3785): wc_print_notices() #1 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(307): woocommerce_output_all_notices('') #2 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/dizzloco/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(646): do_action('woocommerce_bef...') #5 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop() #6 /home/dizzloco/public_html/wp-content/plugins/woolentor-addons/includes/addons/wb_archive_product.php(948): WC_Shortcode_Products->get_c in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 140 2022-04-21T05:08:00+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:140 Stack trace: #0 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3785): wc_print_notices() #1 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(307): woocommerce_output_all_notices('') #2 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/dizzloco/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(646): do_action('woocommerce_bef...') #5 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop() #6 /home/dizzloco/public_html/wp-content/plugins/woolentor-addons/includes/addons/wb_archive_product.php(948): WC_Shortcode_Products->get_c in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 140 2022-04-21T12:44:13+00:00 CRITICAL Uncaught Error: Call to a member function get() on null in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:140 Stack trace: #0 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3785): wc_print_notices() #1 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(307): woocommerce_output_all_notices('') #2 /home/dizzloco/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/dizzloco/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #4 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(646): do_action('woocommerce_bef...') #5 /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-products.php(100): WC_Shortcode_Products->product_loop() #6 /home/dizzloco/public_html/wp-content/plugins/woolentor-addons/includes/addons/wb_archive_product.php(948): WC_Shortcode_Products->get_c in /home/dizzloco/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 140
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Cannot scroll after clicking on add to cart when ajax is enabled’ is closed to new replies.