WebSite X5Help Center

 
Anders W.
Anders W.
User

Difference php 7 vs php 8  en

Autor: Anders W.
Visitado 1111, Seguidores 1, Compartilhado 0  

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

Publicado em
2 RESPOSTAS - 1 CORRIGIR
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).

Ler mais
Publicado em de Aleksej H.
Anders W.
Anders W.
User
Autor

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

Ler mais
Publicado em de Anders W.