WebSite X5Help Center

 
Anders W.
Anders W.
User

Difference php 7 vs php 8  en

Autore: Anders W.
Visite 1454, Followers 1, Condiviso 0  
Parole Chiave: 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

Postato il
2 RISPOSTE - 1 CORRETTO
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).

Leggi di più
Postato il da Aleksej H.
Anders W.
Anders W.
User
Autore

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

Leggi di più
Postato il da Anders W.