Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1444778

    Hi – please help me – my host (Dreamhost) for my site (currently on Enfold 4.1.2 has failed an upgrade for PHP 8.2 – and they have identified the following error:

    After careful investigation, I found that it seems your active theme: enfold may be the reason for the failure.
    When doing a test via the backend. I noticed that the following error:

    Warning: Trying to access array offset on value of type null in
    /home/wp_c3sy69/alexanderknightaccountants.co.uk/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php
    on line 74
    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/wp_c3sy69/alexanderknightaccountants.co.uk/wp-content/themes/enfold/functions-enfold.php
    on line 265
    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/wp_c3sy69/alexanderknightaccountants.co.uk/wp-content/themes/enfold/functions-enfold.php
    on line 265
    Error: There has been a critical error on this website.Learn more about
    troubleshooting WordPress. There has been a critical error on this
    website.

    With that being said. I would recommend trying a different theme and then
    attempt the upgrade. Or, perhaps have a developer or enfold theme
    developers further check that error and see if they can provide an update
    for PHP 8.2.

    #1444788

    Hey SugarPR,

    I see that you are running an old version of the theme, could you try to update to the latest version (5.7.1) to see if that helps please? The update to 5.7.1 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

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