Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1233250

    Hi, I am unable to modify pages, WP shows this error:

    WordPress caught an error with your theme, Enfold.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4.2
    Current theme: Enfold (version 3.6.1)
    Current plugin: (version )
    PHP version 7.4.8

    Error Details
    =============
    An error of type E_ERROR was caused in line 489 of the file /home/webuncec/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/webuncec/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
    Stack trace:
    #0 /home/webuncec/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/webuncec/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
    #2 /home/webuncec/public_html/wp-includes/class-wp-hook.php(287): AviaBuilder->js_template_editor_elements(”)
    #3 /home/webuncec/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #4 /home/webuncec/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/webuncec/public_html/wp-includes/media-template.php(1465): do_action(‘print_media_tem…’)
    #6 /home/webuncec/public_html/wp-include

    #1233264

    Hey yanali,

    Can you try to switch to PHP version 7.3? and check if the error still shows up.

    Best regards,
    Nikko

    #1233286
    This reply has been marked as private.
    #1233424

    Hi,

    Thanks for the update and 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.7.6.1) to see if that helps please? The update to 4.7.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/

    Best regards,
    Rikard

    #1234085

    Thank you. It resolved the issue. We can close this ticket now.

    #1234103

    Hi yanali,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘WordPress caught an error with your theme, Enfold.’ is closed to new replies.