Tagged: Error Enfold Php 8.2
-
AuthorPosts
-
February 28, 2024 at 10:01 am #1435703
Hello.
When I try to update from php 7.4.33 to php8.2 website have a critical error.Server log gives us this information:
AH01071: Got error ‘PHP message: PHP Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /var/www/vhosts//wp-content/themes/enfold/functions-enfold.php on line 324′,February 28, 2024 at 11:34 am #1435728Hey SICOS,
I see that you are running an old version of the theme, could you try to update to the latest version (5.6.10) to see if that helps please? The update to 5.6.10 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,
RikardFebruary 29, 2024 at 10:36 am #1435849Thank you very much for the support.
Following the instructions everything went well and the website is running with PHP version 8.2Only the footer has been deconfigured when reinstalling the template.
The default footer of the template is shown, not the one we indicate in the widgets
Could you help me solve it?February 29, 2024 at 1:11 pm #1435869Hi,
Thanks for the update. Did you check the content of your widgets under Appearance->Widgets?
Best regards,
RikardFebruary 29, 2024 at 1:31 pm #1435876Hi,
We have 5 columns with personalized content, but they are not displayed as they should in the footer of the website.
It seems that a default content of the template is displayed:
Interesting Links // Pages // Categories // List // MarkersI can´t find where to solve it.
Thank you.
Best regards.
Salva.February 29, 2024 at 4:53 pm #1435897Hi,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardFebruary 29, 2024 at 6:12 pm #1435912Thank you!
Now you have login credentials.Regards.
February 29, 2024 at 7:37 pm #1435919Hi,
Thanks for that. Please try to replace footer.php and header.php in your child theme with the parent theme files to see if that helps.
Best regards,
RikardMarch 1, 2024 at 9:37 am #1435962Hello.
The footer has disappeared, it is not shown.
Do I restore footer.php from child theme again?Thank you.
Regards.March 1, 2024 at 11:58 am #1435982Hi,
Thanks for the update. Did you try replacing both of the files that I referred to? You can simply rename the old files, then transfer the new ones from the parent theme.
Best regards,
RikardMarch 4, 2024 at 10:22 am #1436226Thank you very much.
Now it works correctly.
Now I will repeat the process on the real website: https://www.sicos.es/Best regards.
Salva. -
AuthorPosts
- The topic ‘Error when updating Enfold to PHP version 8.2’ is closed to new replies.
