Missing argument 1 for DateTime
Permalink
I posted earlier today about problems I was having with a site after trying to get it set up on a VPS. We worked out that it was to do with GD not being installed. Once this was done it's running very quickly, main reason for moving to a VPS.
My only problem is that now when I get to checkout stage. I get this error 10 times:
Warning: Missing argument 1 for DateTime::__construct(), called in /var/www/html/pennyjellies.com/shop/packages/core_commerce/models/discount/model.php on line 243 and defined in /var/www/html/pennyjellies.com/shop/concrete/libraries/datetime_compat.php on line 20
There are ten discount codes set up in the Ecommerce area. Any thoughts on this C5Gurus?
My only problem is that now when I get to checkout stage. I get this error 10 times:
Warning: Missing argument 1 for DateTime::__construct(), called in /var/www/html/pennyjellies.com/shop/packages/core_commerce/models/discount/model.php on line 243 and defined in /var/www/html/pennyjellies.com/shop/concrete/libraries/datetime_compat.php on line 20
There are ten discount codes set up in the Ecommerce area. Any thoughts on this C5Gurus?