WebSite X5Help Center

 
Anne V.
Anne V.
User

Fatal error on submitting form  en

Author: Anne V.
Visited 1297, Followers 1, Shared 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 ANSWERS - 2 USEFUL - 1 CORRECT
John S.
John S.
User

Which PHP version is on your domain?

Read more
Posted on the from John S.
Anne V.
Anne V.
User
Author

PHP is 8.0

Read more
Posted on the from Anne V.
Franz-Josef H.
Franz-Josef H.
Moderator

If possible, switch back to php 7.4 and try again

Read more
Posted on the from Franz-Josef H.
Axel  
Axel  
User
Best User of the month FR

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

Read more
Posted on the from Axel  
Anne V.
Anne V.
User
Author

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

Read more
Posted on the from Anne V.
Axel  
Axel  
User
Best User of the month FR

Hello Anne,

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

and close the ticket.

Enjoy!
Axel

Read more
Posted on the from Axel