Please HELP!
My site is down and I don’t know how to fix it. I can’t even enter my WP-admin.
My site: https://eljacare.nl
I have a paid version of the Enfold theme.
I got an email with the following information:
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with your theme, Enfold.
WordPress version 6.3.1
Active theme: Enfold (version 4.1.2)
Current plugin: (version )
PHP version 8.1.23
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 265 of the file /home/deb88944n3/domains/eljacare.nl/public_html/wp-content/themes/Enfold_2/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)
Hey Ellen_1964,
I see that you are running an old version of the theme, could you try to update to the latest version (5.6.6) to see if that helps please? The update to 5.6.6 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the new theme files via Appearance->Themes->Add New, and select to overwrite the old theme files after the upload has finished.
If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
Rikard