Error when trying clicking ‘add to cart’
-
Hi, when I click ‘add to cart’ on product pages I get a fatal error:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "wpidg_woocommerce_add_to_cart_handler" not found or invalid function name in /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/class-wp-hook.php:308 Stack trace: #0 /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #1 /home/dangerzone/domains/dangerzone.se/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(787): apply_filters() #2 /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/class-wp-hook.php(308): WC_Form_Handler::add_to_cart_action() #3 /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/dangerzone/domains/dangerzone.se/public_html/wp-settings.php(645): do_action() #6 /home/dangerzone/domains/dangerzone.se/public_html/wp-config.php(165): require_once('/home/dangerzon...') #7 /home/dangerzone/domains/dangerzone.se/public_html/wp-load.php(50): require_once('/home/dangerzon...') #8 /home/dangerzone/domains/dangerzone.se/public_html/wp-blog-header.php(13): require_once('/home/dangerzon...') #9 /home/dangerzone/domains/dangerzone.se/public_html/index.php(17): require('/home/dangerzon...') #10 {main} thrown in /home/dangerzone/domains/dangerzone.se/public_html/wp-includes/class-wp-hook.php on line 308
However, when I use the ‘add to cart’ function on individual products on my shop page, it works fine: https://dangerzone.se/guidebocker/
I have updated WP, all plugins and theme to latest version. What is happening here?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error when trying clicking ‘add to cart’’ is closed to new replies.