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

    Hello,

    When I go to edit a page the Avia editor never appears–the spinner spins indefinitely. If I scroll to near the bottom of the editor page, I see the following:

    Warning: Illegal string offset 'shortcodehandler' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 480
    
    Warning: Illegal string offset 'modal_title' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 481
    
    Warning: Illegal string offset 'modal_ajax_hook' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 482
    
    Warning: Illegal string offset 'dragdrop-level' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 483
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 484
    
    Warning: Invalid argument supplied for foreach() in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php on line 320
    
    Warning: Illegal string offset 'shortcodehandler' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 480
    
    Warning: Illegal string offset 'modal_title' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 481
    
    Warning: Illegal string offset 'modal_ajax_hook' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 482
    
    Warning: Illegal string offset 'dragdrop-level' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 483
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 484
    
    Warning: Illegal string offset 'modal_on_load' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 495
    
    Warning: Invalid argument supplied for foreach() in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php on line 320
    
    Warning: Illegal string offset 'shortcodehandler' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 480
    
    Warning: Illegal string offset 'modal_title' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 481
    
    Warning: Illegal string offset 'modal_ajax_hook' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 482
    
    Warning: Illegal string offset 'dragdrop-level' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 483
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 484
    
    Warning: Illegal string offset 'modal_on_load' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 495
    
    Warning: Invalid argument supplied for foreach() in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php on line 320
    
    Warning: Illegal string offset 'shortcodehandler' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 480
    
    Warning: Illegal string offset 'modal_title' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 481
    
    Warning: Illegal string offset 'modal_ajax_hook' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 482
    
    Warning: Illegal string offset 'dragdrop-level' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 483
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 484
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 488
    
    Warning: Illegal string offset 'allowed-shortcodes' in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 489
    
    Fatal error: Uncaught Error: Cannot use string offset as an array in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489 Stack trace: #0 /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array) #1 /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element() #2 /home/public/wp-includes/class-wp-hook.php(286): AviaBuilder->js_template_editor_elements('') #3 /home/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #4 /home/public/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /home/public/wp-includes/media-template.php(1347): do_action('print_media_tem...') #6 /home/public/wp-includes/class-wp-hook.php(286): wp_print_media_templates('') #7 /home/public/wp-includes/class-wp-hook.php(310): WP_Ho in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 489

    I also got an email from Word Press that reads:

    
    Howdy!
    
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with your theme, Enfold.
    
    First, visit your website ([redacted]) and check for any visible issues. Next, visit the page where the error was caught ([redacted]) and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    [redacted]
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 489 of the file /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php. Error messag\
    e: Uncaught Error: Cannot use string offset as an array in /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:489
    Stack trace:
    #0 /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(443): aviaShortcodeTemplate->create_sortable_editor_element(Array)
    #1 /home/public/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php(397): aviaShortcodeTemplate->prepare_editor_element()
    #2 /home/public/wp-includes/class-wp-hook.php(286): AviaBuilder->js_template_editor_elements('')
    #3 /home/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
    #4 /home/public/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /home/public/wp-includes/media-template.php(1347): do_action('print_media_tem...')
    #6 /home/public/wp-includes/class-wp-hook.php(286): wp_print_media_templates('')
    #7 /home/public/wp-includes/class-wp-hook.php(310): WP_Ho
    

    Please help! Much obliged,
    Richard

    #1115435

    Hi Richard,

    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.5.7) to see if that helps please? The update to 4.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.

    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,
    Rikard

    #1115960

    Thank you! I manually updated the theme and now it’s working perfectly.
    Regards,
    Richard

    #1116188

    Hi Richard,

    Great, I’m glad that you got things working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1132603

    i’ve encountered the following issues –

    1. editor isn’t loading properly (spinning icon) – i cant write & edit any page

    i’ve tried to update the latest theme, as described above but it breaks my website, saying the page is not exist with a 500 error

    2. my home page is not loading

    these issues were suddenly happened (at the next login) after editing & previewing pages during a regular use

    i need your help please

    • This reply was modified 5 years, 2 months ago by kirkagur.
    #1132977

    Hi kirkagur,

    We have replied in your thread, we’ll continue the discussion there.

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.