PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Coupon Critical Error

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I get the below critical error on website when trying to apply a coupon

 

[Wed Jul 23 09:12:01.458576 2025] [proxy_fcgi:error] [pid 2360710:tid 2360813] [client 208.109.1.12:20928] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught WC_Data_Exception: Invalid maximum spend value. in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:941\nStack trace:\n#0 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(737): WC_Data->error()\n#1 /bitnami/wordpress/wp-content/plugins/woocommerce-currency-switcher/classes/woocs.php(5144): WC_Coupon->set_maximum_amount()\n#2 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(324): WOOCS->woocommerce_coupon_loaded()\n#3 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#4 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()\n#5 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php(152): do_action()\n#6 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Coupon_Data_Store_CPT->read()\n#7 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-coupon...', referer: https://bahraingreetings.com/cart/

Hello

Please try in file -  wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - add this code - https://share.pluginus.net/image/i20250724115612.png

if (!('amount' == $key && !$convert ) && $val) {

We will add this fix in the next version of the plugin.