Hi all,
I’m getting emails saying “Your Site is Experiencing a Technical Issue” after I installed an Enfold update.
The error detail is:
An error of type E_COMPILE_ERROR was caused in line 332 of the file /var/www/vhosts/gemmasyme.com/httpdocs/wp-content/themes/enfold/functions-enfold.php. Error message: Unparenthesized a ? b : c ? d : e
is not supported. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
Does anyone have a fix for this?
Hi njsconsulting,
What PHP version are you using?
Best regards,
Nikko
Hi Nikko,
it’s 8.0.3
Cheers,
Gemma
Hi njsconsulting,
Can you try to downgrade it to PHP 7.4? and see if it helps.
Best regards,
Nikko
That worked! Thanks so much :)
Hi njsconsulting,
We’re glad that we could help :)
Enfold should soon be fully compatible with PHP 8.
Thanks for using Enfold and have a great day!
Best regards,
Nikko