
-
AuthorPosts
-
October 15, 2019 at 8:16 pm #1148183
Hi folks, this is urgent!
Out of the blue I got the following error message of a website that I built two years ago with ENFOLD:Error Details
=============
An error of type E_ERROR was caused in line 489 of the file /home/askoesteyr/public_html/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/askoesteyr/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
Stack trace:
#0 /home/askoesteyr/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
#1 /home/askoesteyr/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
#2 /home/askoesteyr/public_html/wp-includes/class-wp-hook.php(286): AviaBuilder->js_template_editor_elements(”)
#3 /home/askoesteyr/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /home/askoesteyr/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5 /home/askoesteyr/public_html/wp-includes/media-template.php(1347): do_action(‘print_media_tem…’)
#6 /home/askoesteyr/publThe front page is broken, I can’t edit any page via the backend, neither with the template builder nor with Gutenberg. Please have a look at it!
Thanks in advance
AndreasOctober 15, 2019 at 10:02 pm #1148221October 16, 2019 at 11:01 am #1148397Hi,
Sorry for the problem. I see that you are running an old version of the theme, could you try to update to the latest version (4.6.3.1) to see if that helps please? The update to 4.6.x 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 use a plugin to upload the theme zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/
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.
After you have updated then try to activate the Classic Editor in the main page of the theme options.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
Best regards,
RikardOctober 17, 2019 at 12:19 pm #1148899Hi Rikard!
Thank you very much. It worked!
The hosting provider blocked the update because of security issues but made it look like as if Enfold was running with the latest version – pretty strange. We had a little chat about this, now everything is fine (including theme registration).
Kind regards
AndreasOctober 18, 2019 at 5:18 am #1149089 -
AuthorPosts
- You must be logged in to reply to this topic.