WPIntell

Source evidence

WordPress 5.7 Woo 5.2.2

First Order Discount Woocommerce · support · 2021-04-30T08:40:00+00:00

complaintsentiment
highseverity
1.0relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
TimDD unresolved
Seems to crash the cart page. @timchannel Sorry for the trouble caused. Can you please share the error log for our plugin? You can find it under Woocommerce >> Status >> Logs (select today’s date log) That will help me understand the issue. THank you, Vidish Hi Vidish, Does this help? 2021-04-30T08:36:31+00:00 CRITICAL Uncaught Exception: Invalid coupon. in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php:118 Stack trace: #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Coupon_Data_Store_CPT->read() #1 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(133): WC_Data_Store->read() #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(121): WC_Coupon->read_object_from_database() #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1706): WC_Coupon->__construct() #4 /var/www/html/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php(306): WC_Cart->apply_coupon() #5 /var/www/html/wp-content/plugins/first-order-discount-woocommerce/fodw-coupon.php(55): WC_Legacy_Cart->add_discount() #6 /var/www/html/wp-includes/class-wp-hook.php(292): fodw_apply_discount() #7 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #8 /var/www/html/wp- in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php on line 118 @timchannel Yes! That helps! Can you try to do following: 1. Deactivate our plugin 2. Activate our plugin 3. Save it’s configuration Let me know if this fixes the issue. Thanks, Vidish Hey @vidishp Fails with the same error and stack trace. Ok, can you please check following: 1. In your options table, there is an id with this meta_key “_fodw_coupon_id” 2. The id that you found in #1, does that really exist in your system? Try editing it. 3. If the id exists in #2, then can you try applying the coupon manually on your cart and see if you are able to apply the coupon? Let me know results for above steps. Thank you, Vidish

Comments

5 shown
Vidish 2021-04-30T08:58:00+00:00

@timchannel Sorry for the trouble caused. Can you please share the error log for our plugin? You can find it under Woocommerce >> Status >> Logs (select today’s date log) That will help me understand the issue. THank you, Vidish

TimDD 2021-04-30T09:37:00+00:00

Hi Vidish, Does this help? 2021-04-30T08:36:31+00:00 CRITICAL Uncaught Exception: Invalid coupon. in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php:118 Stack trace: #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Coupon_Data_Store_CPT->read() #1 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(133): WC_Data_Store->read() #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(121): WC_Coupon->read_object_from_database() #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1706): WC_Coupon->__construct() #4 /var/www/html/wp-content/plugins/woocommerce/includes/legacy/class-wc-legacy-cart.php(306): WC_Cart->apply_coupon() #5 /var/www/html/wp-content/plugins/first-order-discount-woocommerce/fodw-coupon.php(55): WC_Legacy_Cart->add_discount() #6 /var/www/html/wp-includes/class-wp-hook.php(292): fodw_apply_discount() #7 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #8 /var/www/html/wp- in /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php on line 118

Vidish 2021-04-30T09:54:00+00:00

@timchannel Yes! That helps! Can you try to do following: 1. Deactivate our plugin 2. Activate our plugin 3. Save it’s configuration Let me know if this fixes the issue. Thanks, Vidish

TimDD 2021-04-30T11:37:00+00:00

Hey @vidishp Fails with the same error and stack trace.

Vidish 2021-04-30T11:48:00+00:00

Ok, can you please check following: 1. In your options table, there is an id with this meta_key “_fodw_coupon_id” 2. The id that you found in #1, does that really exist in your system? Try editing it. 3. If the id exists in #2, then can you try applying the coupon manually on your cart and see if you are able to apply the coupon? Let me know results for above steps. Thank you, Vidish