Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1424275
    Arjan Dorrepaal
    Guest

    Hello,

    Our club has an old website which runs on WP 4.5.30 with Enfold 3.4.7 and PHP 5.6, all very old.
    While updating to WP 6.3.2 and PHP 8.1.24 enfold crashes with the error below.
    Can you recommend an update strategy to new versions to solve this problem?

    Thanks in advance,

    Greetings Arjan

    Foutdetails
    ===========
    Een fout van het type E_COMPILE_ERROR werd veroorzaakt op regelnummer 219 van het bestand /home/deb10416/domains/kvhoorn.nl/public_html/wp-content/themes/enfold/functions-enfold.php. Foutmelding: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)

    #1424299

    Hey Arjan,

    The theme version you are running doesn’t support newer PHP versions, please try updating to the latest version of the theme. The update to 5.6.8 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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.