WebSite X5Help Center

 
Anne V.
Anne V.
User

Fatal error on submitting form  en

Автор: Anne V.
Просмотрено 1662, Подписчики 1, Размещенный 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

Размещено
6 Ответы - 2 Полезно - 1 Корректно
John S.
John S.
User

Which PHP version is on your domain?

Читать больше
Размещено От John S.
Anne V.
Anne V.
User
Автор

PHP is 8.0

Читать больше
Размещено От Anne V.
Franz-Josef H.
Franz-Josef H.
Moderator

If possible, switch back to php 7.4 and try again

Читать больше
Размещено От 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

Читать больше
Размещено От Axel  
Anne V.
Anne V.
User
Автор

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

Читать больше
Размещено От 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

Читать больше
Размещено От Axel