Closed RoflCopter24 closed 2 years ago
Urgent: Without this changes, the debug mode stops with error.
Please change line 65 in config also. is_array
check is not enough. This produces same error. Check with isset($GLOBALS[...])
instead of is_array(...)
.
@RoflCopter24 Could you add the change on line 65 of config? Who could merge this PR after the change?
Thank you to all Enrica
Yeah, imho we can release a version which is PHP 8 compatible and only works for 4.9+. 4.4 is EOL in a month anyway and the combination of using Contao 4.4 but PHP 8 makes no sense whatsoever.
This PR adds a check inside the label handling in
EasyThemes.php
to prevent issue #50 as well as check in front of the $_GET access inconfig/config.php
to prevent the "undefined array key" warning in PHP8