WebSite X5Help Center

 
Anne V.
Anne V.
User

Fatal error on submitting form  en

Autor: Anne V.
Visited 1658, Followers 1, Udostępniony 0  

I have a form on my site which hasn't been in use since before the pandemic but now trying to submit a completed form produces this error message:

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 /misc/11/000/239/837/0/user/web/guernseykennelclub.org.gg/res/x5engine.php on line 3447

The form can be found here:

http://www.guernseykennelclub.org.gg/off-island-form.html

Can anyone help, please?

Many thanks. 

Anne Vaudin

Posted on the
6 ODPOWIEDZI - 2 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
John S.
John S.
User

Which PHP version is on your domain?

Czytaj więcej
Posted on the from John S.
Anne V.
Anne V.
User
Autor

PHP is 8.0

Czytaj więcej
Posted on the from Anne V.
Franz-Josef H.
Franz-Josef H.
Moderator

If possible, switch back to php 7.4 and try again

Czytaj więcej
Posted on the from Franz-Josef H.
Axel  
Axel  
User

Hello Anne,

PHP 7.4 or 7.3 should be better to fix this error

But should be fixed by Incomedia to run correctly with latest PHP version foot-in-mouth

Enjoy!
Axel

Czytaj więcej
Posted on the from Axel  
Anne V.
Anne V.
User
Autor

Yes, the form works correctly on a PHP of 7.4.

Czytaj więcej
Posted on the from Anne V.
Axel  
Axel  
User

Hello Anne,

If your issue is fixed and my answer is good, please notify my answer like OK

and close the ticket.

Enjoy!
Axel

Czytaj więcej
Posted on the from Axel