Summary:
Issue with DateTime fields after upgrading from 1.1 to 1.2.1.1
Detailed Description:
If you upgrade from 1.1 to 1.2.1.1 and in your instance you had already a
Date/Time field, you will get an error when you try to go to your LISE Instace
with said field.
You have to make sure that "backwards compatibility" is checked for all
date-time fields before upgrading otherwise you won't be able to access your
LISE instance settings and/or data.
But there is a work around if you upgraded and you're stuck in that error.
Go to this file:
modules/LISE/lib/class.lise_datetime_utils.php
Remove the double quotes in line 70, it should look like this after you do:
$datetime = new DateTime(@$value);
Go back to CMS Admin and access your LISE instance that was puking the error, go
to every date/time field and make sure "backwards compatibility" is checked.
Go back to the same file and edit it back to what it was originally:
$datetime = new DateTime("@$value");
It's not ideal but a work around after you have come across this error and can't
access your data/settings in your LISE instances that use date/time fields.