evolution-cms / evolution

Welcome to the new evolution of MODX Evolution!
GNU General Public License v3.0
260 stars 95 forks source link

WARNING is displayed when "Input type" is set to "Date" in "Template variables" of "Elements" #2122

Closed sbwe7 closed 1 year ago

sbwe7 commented 1 year ago

When the "Input type" was set to "Date" in "Template Variables" of "Elements", WARNING was displayed on the screen for creating a new resource or editing a resource.

Error : Trying to access array offset on value of type null

It seems that $_style["icon_calendar_close"] on line 760 of the core/functions/actions/mutate_content.php file is the cause.

Changing $_style["icon_calendar_close"] to ManagerTheme::getStyle('icon_calendar_close') will make the WARNING disappear. However, when I clicked on the displayed icon, the Datepicker did not appear.

Confirmed this issue with Evolution CMS version 3.1.10.

Seiger commented 1 year ago

Could not confirm the problem in EVO version 3.2.2

sbwe7 commented 1 year ago

Thank you. It was confirmed that there was no problem.