-
AuthorPosts
-
September 16, 2024 at 8:52 pm #1467144
WordPress is throwing a critical error message. When I checked the Error Log, this is what I find:
[16-Sep-2024 17:16:32 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in …../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
[16-Sep-2024 17:16:32 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in ………./wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php on line 27
[16-Sep-2024 17:16:32 UTC] PHP Warning: Undefined variable $kriesi_at_backlink in …………../wp-content/themes/enfold/footer.php on line 102Any support you can provide with how to update these files would be appreciated. Is there a new version of the theme? Mine says I have updated to most current version, but nothing looks different in my WordPress Dashboard.
September 17, 2024 at 12:17 pm #1467189Hey kmurray,
I can only see warnings in what you posted, they won’t cause your site to crash. Please make sure that you are running the latest version of the theme (6.0.4): https://kriesi.at/documentation/enfold/theme-update/, and PHP version 8.0 or higher.
If you are overriding footer.php in a child theme, then please try to temporarily remove that file, or replace it with the parent theme file.
Best regards,
RikardSeptember 17, 2024 at 8:31 pm #1467230Hello Rikard, thank you for your help. I am still getting this error after updating the theme. Here are some additional details from WordPress. It seems the site is still up, however, I am not able to make any edits, when I click to edit, I am not able. Here is the error email sent from WordPress regarding the theme:
An error of type E_ERROR was caused in line 489 of the file …/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php. Error message: Uncaught Error: Cannot use string offset as an array in …/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
Stack trace:
#0 …/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
#1 …/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
#2 …/wp-includes/class-wp-hook.php(324): AviaBuilder->js_template_editor_elements(”)
#3 …/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#4 …/wp-includes/plugin.php(517): WP_Hook->do_action(Array)September 18, 2024 at 5:47 am #1467269Hi,
Thank you for the update.
We may need to access the site in order to check the issue proerly. Please provide the WP and SFTP login details in the private field.
Best regards,
IsmaelSeptember 18, 2024 at 2:41 pm #1467318I have added login credentials in the private area below.
September 18, 2024 at 3:07 pm #1467324Hi,
I can’t see any login details in this thread, please try posting them again.
Best regards,
RikardSeptember 18, 2024 at 3:11 pm #1467325Hello Rikard, I am posting the login details the the form field below which says “Private Content”
September 18, 2024 at 4:31 pm #1467335Hi,
Thanks for that. What happens if you upgrade your PHP version to 8.0 or higher?
Your site is running on an outdated version of PHP (7.2.34), which does not receive security updates and soon will not be supported by WordPress. Ensure that PHP is updated on your server as soon as possible. Otherwise you will not be able to upgrade WordPress.
What is PHP and how does it affect my site?
PHP is one of the programming languages used to build WordPress. Newer versions of PHP receive regular security updates and may increase your site’s performance. The minimum recommended version of PHP is 7.4.
Best regards,
RikardSeptember 18, 2024 at 4:33 pm #1467337Hi Rikard, when I update to PHP 8.0 it completely breaks the site. This is why I have settled at PHP 7.2 because at least the site is still working for visitors.
September 18, 2024 at 4:38 pm #1467338Also, is this accurate, my Enfold Dashboard says I am running the latest version of the Theme, but it seems like that may not be the case.
September 18, 2024 at 5:22 pm #1467348Hi,
Your theme version is very old; 3.6.1, this version is not able to use PHP v8, and you will not be able to update automatically because the way that Envato now updates has changedso you will need to manually update with thw following steps. I recommend creating a full backup of your site and database first. Typically I would not expect and issues but it is best practice to create a backup. I also recommend backing up with your server backup tools and not a plugin, if you are not sure how to use your webhost server backup tool please ask your webhost for help, as there many different tools.
To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
then you will see the Theme updated successfully message.
After this for future updates you will need to create “Token” please see our documentation here.Best regards,
MikeSeptember 28, 2024 at 12:37 am #1467983Hello,
I am writing to you in regards to site samuelblack.co that I am helping my husband fix.I have my own site rosenreckless.com where I use Enfold theme that I purchased and installed myself and that is the license number I am using for being able to log in a kris.
However, for samuelblack.co it was his old intern that purchased and installed Enfold theme (child) for the site back in 2015 and I do not have license number etc.
Until yesterday I was getting a critical error but at least I was able to log in to wp-admin, now I can’t even log in to the wp-admin.
I contacted our hosting company and they said that all the errors that I’m getting are with the theme and php configurations/critical/core files of the theme.I was hoping you’d be able to help me out. I am not even sure where to begin.
Thank you
KseniaSeptember 28, 2024 at 11:30 am #1467991Hi RoseNReckless,
Could you try updating the theme to the latest version (6.0.4) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/. If you should need further help, then please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.