Jump to content

Bug when entering an order


Recommended Posts

Hello guys,

I have an issue apparently related to customer as this happen only for two customer in my shop. All order of those customer when I try to enter on their order on the back office, I have the following message.

AnyOne can help ?

Thank you in advance

 

[PrestaShopException]

Invalid date
at line 881 in file classes/Tools.php

876. if ($date == '0000-00-00 00:00:00' || $date == '0000-00-00') {
877. return '';
878. }
879.
880. if (!Validate::isDate($date) || !Validate::isBool($full)) {
881. throw new PrestaShopException('Invalid date');
882. }
883.
884. $context = Context::getContext();
885. $date_format = ($full ? $context->language->date_format_full : $context->language->date_format_lite);
886. return date($date_format, $time);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...