Tagged: enfold theme
-
AuthorPosts
-
August 11, 2024 at 1:28 pm #1464396
Hi there,
I have the Enfold theme (version 3.8) and recently I have found that I am unable to edit pages. There is a message at the top of the page stating “This Block has encountered an error and cannot be previewed.”
The error details in the email received was as follows:
Error Details
=============
An error of type E_ERROR was caused in line 489 of the file /home/media/sydneydjservices.com.au/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 /home/media/sydneydjservices.com.au/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
Stack trace:
#0 /home/media/sydneydjservices.com.au/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
#1 /home/media/sydneydjservices.com.au/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
#2 /home/media/sydneydjservices.com.au/wp-includes/class-wp-hook.php(324): AviaBuilder->js_template_editor_elements(”)
#3 /home/media/sydneydjservices.com.au/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#4 /home/media/sydneydjservices.com.au/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/media/sydneydjservices.com.au/wp-includes/media-template.php(1570): do_actionCan anyone assist?
August 11, 2024 at 3:46 pm #1464405Hey richard918,
I have checked the site above and indeed your version is 3.8 unfortunately this is very old and you must update to v6.0.2
I assume that you have not modified any theme files as it looks like you are not using a child theme, if you know that some theme files were modified by a developer then these modifications will be lost. I doubt this, but must tell you.
OK, so at your point I recommend first creating a staging site to test on, most cPanel webhosts have a staging site option, some in the dashboard:
Others add the option in the Softaculous WordPress Management
There may be other staging site options in different cPanel servers, these are the two that I have seen.
Then you can test the update on your new staging site and your live site will stay online.
Then 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.
If this staging site works fine then do the same for your live site, if you see errors on your staging site then post the admin login so we can check.
I don’t think that you will have errors, but it is better to be safe.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.