WebSite X5Help Center

 
Anders W.
Anders W.
User

Difference php 7 vs php 8  en

Auteur : Anders W.
Visité 1455, Followers 1, Partagé 0  
Mots-clés :: php,website x5 pro 2020.3

I using XAMMP to run apache on my server home, when i used early version of XAMMP that has php 7 there was no problem.

Now i installed the new version of XAMMP wich has php 8 in apache.

This error came up when i filled in in a contactform and click send.

Maybe they change the syntax in php8, any solutions to this would be very nice

Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\_domaner\wickes_se\res\x5engine.php on line 5720

Posté le
2 RéPONSES - 1 CORRECT
Aleksej H.
Aleksej H.
Moderator

Hello.As far as I know, WebSite X5 is not yet PHP 8 compatible. Use PHP 7.

"Maybe they change the syntax in php8, any solutions to this would be very nice" - I think this can be expected in new versions of the program (but I don't know when).

Lire plus
Posté le de Aleksej H.
Anders W.
Anders W.
User
Auteur

Hello Thanks for your answer, yes i have gone back to php 7, it works fine :)

Lire plus
Posté le de Anders W.