Hello,
We have a problem that Enfold theme caused critical error on our website. Frontend and backend could not be accessed. Spoke with hosting provider and they told me that problem lies in Enfold theme. Problem occured late on friday (21.38, GTM+1), so maybe it has something to do with recent updates on theme elements. Here is the details about problem:
Detaljer om fejl
================
En fejl af typen E_COMPILE_ERROR skete i linje 313 i filen /home/u253886603/domains/arklink.dk/public_html/wp-content/themes/enfold/functions-enfold.php. Fejlbesked: Unparenthesized a ? b : c ? d : e
is not supported. Use either (a ? b : c) ? d : e
or a ? b : (c ? d : e)
Looking for a solution ASAP, as website is down…
Hey arklink,
I see that you are running an old version of the theme, could you try to update to the latest version (5.6.12) to see if that helps please? The update to 5.6.12 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 theme as if it was new under Appearance->Themes->Add New Theme.
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
Hi,
Great, I’m glad to hear that it’s working as it should now. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard