Fatal error when a coupon is applied
-
This can be replicated by going to the website, adding some items to the cart, apply a coupon at the cart screen : 2CAFUHVS
Then proceed to checkout and try complete the checkout process. You will see the calculation loader spins endlessly and if you open up console you wil lsee the 500 error on the admin-ajax.phpMessage log from the srver below:
2021/02/28 14:03:53 [error] 128793#128793: *368228 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Unsupported operand types in /www/cs00355_254/public/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php:728
Stack trace:
#0 /www/cs00355_254/public/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php(424): ParcelPerfectApiPayload->poolIfPossible(Array, Array)
#1 /www/cs00355_254/public/wp-content/plugins/the-courier-guy/Core/ParcelPerfectApiPayload.php(953): ParcelPerfectApiPayload->getContentsPayload(Array, Array)
#2 /www/cs00355_254/public/wp-content/plugins/the-courier-guy/Core/TCG_Plugin.php(902): ParcelPerfectApiPayload->getQuotePayload(Array, Array)
#3 /www/cs00355_254/public/wp-content/plugins/the-courier-guy/Shipping/TCG_ShippingMethod.php(130): TCG_Plugin->getQuote(Array, Array)
#4 /www/cs00355_254/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(233): TCG_Shipping_Method->calculate_shipping(Array)
#5 /www/cs00355_254/public/wp-content/plugins/woocommerce/includes/class-” while reading response header from upstream, client: 165.255.91.131, server: cs00355.kinsta.cloud, request: “POST /?wc-ajax=update_order_review HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.3-fpm-cs00355.sock:”, host: “healthyhunnies.com”, referrer: “https://healthyhunnies.com/shop/checkout/”
2021/02The page I need help with: [log in to see the link]
- The topic ‘Fatal error when a coupon is applied’ is closed to new replies.