e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

Class2.php #5126

Closed fizi closed 7 months ago

fizi commented 7 months ago

What e107 version are you using?

Latest Github version (just updated)

Bug description

The site black. The control panel: PHP Parse error: syntax error, unexpected '?' in /chroot/home/.../.../html/class2.php on line 230 Line 230 in class2.php file: $E107_CONFIG = $config->other() ?? [];

How to reproduce

The page blank. error 500

Expected behavior

I don't know.

What browser(s) are you seeing the problem on?

Firefox

PHP Version

5.6.40

Deltik commented 7 months ago

e107 v2.3.3 was the final version to support PHP 5.6. We are now targeting PHP 7.4 as the minimum PHP version for the development head.

You will need to downgrade to v2.3.3 to continue using PHP 5.6. In Git, git checkout v2.3.3 would perform the downgrade. You can also extract a release package over your existing installation to downgrade.

fizi commented 7 months ago

Thanks!