Activating Premium version Crashes cart page
-
When a product is added to the cart, and the cart page is visited, the page gives the there has been a critical error, please visit the troubleshooting page.
I need this to be fixed as soon as possible as my client is losing revenue day by day.If I deactivate the premium version, the error clears up.
When I enable wp_debug, the error is expanded as such:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function ACFWP\Models\Add_Products::lock_quantity_field_for_add_product(), 2 passed in /home/xxxx/wp-includes/class-wp-hook.php on line 303 and exactly 3 expected in /home/xxxx/wp-content/plugins/advanced-coupons-for-woocommerce/Models/Add_Products.php:461 Stack trace: #0 /home/xxxx/wp-includes/class-wp-hook.php(303): ACFWP\Models\Add_Products->lock_quantity_field_for_add_product('<div class="brn...', '44ac33abef9f864...') #1 /home/xxxx/wp-includes/plugin.php(189): WP_Hook->apply_filters('<div class="brn...', Array) #2 /home/xxxx/wp-content/themes/grotte/woocommerce/cart/cart.php(99): apply_filters('woocommerce_car...', '<div class="brn...', '44ac33abef9f864...') #3 /home/xxxx/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/xxxx/...') #4 /home/xxxxx/wp-content/plugins/woocommerce/includes/shortcodes/class- in /xxxx/wp-content/plugins/advanced-coupons-for-woocommerce/Models/Add_Products.php on line 461
- The topic ‘Activating Premium version Crashes cart page’ is closed to new replies.