My website (and other websites I’m managing) are running on the latest MODX-version and all Extra’s are up to date.
My webhost has changed the PHP-version tot 7.4. and as a result of that I can’t login. On the login page this message appears: Deprecated : Unparenthesized a ? b : c ? d : e is deprecated. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /home/plg***/domains/l******.nl/public_html/core/model/modx/modx.class.php** on line 678
Turning PHP back tot 7.3 solves the problem for now. I really want to know why my website (and some others) have problems with the latest PHP-version.
Does anyone know what’s going on here and how I can fix it?
MODX will run fine on most shared/cloud hosting, as well as VPS and dedicated boxes. MODX is written in PHP, typically uses a MySQL database, and needs a webserver like Apache or nginx to serve web requests.
thank you for replying. The error-message appeared on the manager login page. The strange thing is that some sites are running without problems on php 7.4. and some others don’t.
Maybe the problem is installing by Installatron. All the sites I’ve installed manually don’t have this issue. I will look into it.