
Originally Posted by
apollowilcox
Lol! Thanks Carl.
I uploaded the new code and upon confirming the test order, got the error screen and when I refreshed, I was completely logged out.
The same log file/ error of 'incorrect datetime value.'
Confirmed that the new file did upload and did it again just to make sure. Retried... same.
myDEBUG-20211123-103135-876701-error.zip
ok, great thanks for that.
lets try changing a couple of lines in the same file. pretty convinced this will now work. lines 1521 and 1522:
PHP Code:
//from
$mod_date = null;
$bindType = 'date';
//to
$mod_date = 'null';
$bindType = 'noquotestring';
if i ever do a refactor, i will remove these date fields and store them as integer using a UTC timestamp. so much easier to maintain.
let me know if this works.