ZC 2.0.1
Php 8.3
Bootstrap template
OPC. 2.5.3
I am getting the following error while trying to checkout:
Code:
[12-Aug-2024 00:54:08 UTC] PHP Fatal error: Uncaught TypeError: CouponValidation::is_product_valid(): Argument #1 ($product_id) must be of type int, string given, called in /includes/functions/functions_gvcoupons.php on line 90 and defined in /includes/classes/CouponValidation.php:14
Stack trace:
#0 /includes/functions/functions_gvcoupons.php(90): CouponValidation::is_product_valid()
#1 /includes/modules/order_total/ot_coupon.php(635): is_product_valid()
#2 /includes/modules/order_total/ot_coupon.php(138): ot_coupon->get_order_total()
#3 /includes/classes/order_total.php(72): ot_coupon->process()
#4 /includes/modules/pages/checkout_one/header_php.php(347): order_total->process()
#5 /index.php(35): require('/home/zch1akhw6...')
#6 {main}
thrown in /includes/classes/CouponValidation.php on line 14
Any help please
Thank you in advance
Bookmarks