September 17, 2022 at 2:22 am #1365305
An error of type E_ERROR was caused in line 489 of the file /var/www/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 /var/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
#0 /var/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
#1 /var/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
#2 /var/www/wp-includes/class-wp-hook.php(307): AviaBuilder->js_template_editor_elements(”)
#3 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#4 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#5 /var/www/wp-includes/media-template.php(1512): do_action(‘print_media_tem…’)
#6 /var/www/wp-includes/class-wp-hook.php(307): wp_print_media_templates(”)
#7 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#8 /vSeptember 17, 2022 at 11:42 am #1365319
Thanks for the login details. I see that you are running an old version of the theme, could you try to update to the latest version (5.1.2) to see if that helps please? The update to 5.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.
Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/
RikardSeptember 18, 2022 at 9:42 pm #1365463
I installed the plug in and now I am getting this error
Installing theme from uploaded file: themeforest-60cCkpWr-enfold-responsive-multipurpose-theme.zip
Unpacking the package…
Installing the theme…
The package could not be installed. The theme is missing the style.css stylesheet.
Theme installation failed.September 18, 2022 at 9:50 pm #1365464
Also the wordpress version I have is 6.02 and the plugin had this warning
This plugin is deprecated.
This plugins functionality is now included in core of WordPress v5.5+
Please de-activate and remove/delete this plugin.September 19, 2022 at 4:19 am #1365473
Thanks for giving us admin access.
We have updated your Enfold theme, please review your site.
NikkoSeptember 19, 2022 at 4:10 pm #1365555
Thank you, everything is good now.September 19, 2022 at 4:57 pm #1365569
Great, I’m glad to hear that things are back in working condition. Please let us know if you should need any further help on the topic, or if we can close it.
RikardSeptember 19, 2022 at 9:56 pm #1365609
thank you, this can be closedSeptember 20, 2022 at 6:04 am #1365617
- The topic ‘Theme error code’ is closed to new replies.