Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #1365305

    I cant load the pages, I am getting this error. I have not update the theme since I got, I am not really sure how to do it. The site is hosted in and they had a javascript update.

    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
    Stack trace:
    #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 /v


    Hey scosee,

    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:
    You can either update manually via FTP:, or use a plugin to upload the theme 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:

    Best regards,


    I installed the plug in and now I am getting this error
    Installing theme from uploaded file:
    Unpacking the package…
    Installing the theme…
    The package could not be installed. The theme is missing the style.css stylesheet.
    Theme installation failed.


    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.


    Hi scosee,

    Thanks for giving us admin access.
    We have updated your Enfold theme, please review your site.

    Best regards,


    Thank you, everything is good now.



    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.

    Best regards,


    thank you, this can be closed


    Hi scosee,

    We’re glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Theme error code’ is closed to new replies.