Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [1.9.0] Fix PHP warning: Missing argument 4 for...

[1.9.0] Fix PHP warning: Missing argument 4 for... 1 year 5 months ago #889

  • hungtran
  • hungtran's Avatar
  • OFFLINE
  • Moderator
  • Posts: 915
  • Thank you received: 152
  • Karma: 20
Hi all,

If you are using CMGroupBuying 1.9.0 you can notice this error in your Joomla error log:
Missing argument 4 for CMGroupBuyingHelperCoupon::generateCouponCode()...


To fix this you need to modify components/com_cmgroupbuying/helpers/coupon.php, you change line 35:
$couponCode = CMGroupBuyingHelperCoupon::generateCouponCode($orderId, $dealId, $i);

to
$couponCode = CMGroupBuyingHelperCoupon::generateCouponCode($orderId, $itemId, $dealId, $i);

We apologize for any inconvenience caused and thank you for your bug report!

Regards,
CMExt Team
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.165 seconds