Tagged: PHP 8
Hi,
I’m having issues trying to use Enfold with PHP 8.x
I get the following error
[14-Mar-2023 11:36:31 UTC] PHP 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 /home/rubberdu/public_html/wp-content/themes/enfold/functions-enfold.php on line 323
The theme is V 4.5.3 using a child theme.
WP is 6.1.1 is there a quick solution for this?
With thanks
Phil
Hi Phil,
Could you try updating the theme to the latest version (5.4.1) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.
Best regards,
Rikard
Thanks Rikard. I’ll try that.
What’s odd is the theme wasn’t auto updated. My Envato key looks ok, so I’m not sure why I haven’t been prompted to update before.
Regards
Phil
Hi Phil,
Please make sure you have the correct permission:
For further information please follow the instructions in our documentation: https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token
Best regards,
Nikko