Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1176530

    Hey there! I was adding some graphics to the layer slider on the home page and went to save when WordPress crashed on me and threw a “fatal error”. The frontend is working fine, and all of the backend seems to be fine – except for the “edit” option on the actual Homepage Page. I got on with Host Gator support and they tried changing deactivating the plugins, and also playing with the PHP speeds – nothing fixed it. Any idea what I can do to fix this issue??

    This is the uncaught error:

    Uncaught Error: Argument 1 passed to aviaShortcodeTemplate::set_frontend_developer_heading_tag() must be of the type array, string given, called in /home2/kelly03/new.3-dinfo.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 354 in /home2/kelly03/new.3-dinfo.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 1239
    set_frontend_developer_heading_tag()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:354
    advanced_slide()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:268
    html()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php:924
    shortcode_handler()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:654
    shortcode_handler_prepare()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-includes/class-wp-hook.php:288
    apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1550
    prepare_item_for_response()
    wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:472
    get_item()
    wp-includes/rest-api/class-wp-rest-server.php:946
    dispatch()
    wp-includes/rest-api.php:429
    rest_do_request()
    wp-includes/rest-api.php:1539
    rest_preload_api_request()
    array_reduce()
    wp-admin/edit-form-blocks.php:77
    include()
    wp-admin/post.php:179

    #1176601

    Hey Melissa,

    Sorry for the problem. First off, could you try updating the theme to the latest version (4.7.2) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update.

    Best regards,
    Rikard

    #1176899

    Hey Rikard,

    Thanks for the message. I have now updated the theme to the latest version and it is still throwing the same error on the backend of the “Home” page when I try to edit. I did clear the cache and cookies from my browser and the wordpress website. No luck.

    This is the error message:

    Uncaught Error: Argument 1 passed to aviaShortcodeTemplate::set_frontend_developer_heading_tag() must be of the type array, string given, called in /home2/kelly03/new.3-dinfo.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php on line 354 in /home2/kelly03/new.3-dinfo.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 1540
    set_frontend_developer_heading_tag()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:354
    advanced_slide()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/av-helper-slideshow.php:268
    html()
    wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_fullsize/slideshow_fullsize.php:992
    shortcode_handler()
    wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:890
    shortcode_handler_prepare()
    wp-includes/shortcodes.php:325
    do_shortcode_tag()
    preg_replace_callback()
    wp-includes/shortcodes.php:199
    do_shortcode()
    wp-includes/class-wp-hook.php:288
    apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1550
    prepare_item_for_response()
    wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:472
    get_item()
    wp-includes/rest-api/class-wp-rest-server.php:946
    dispatch()
    wp-includes/rest-api.php:429
    rest_do_request()
    wp-includes/rest-api.php:1539
    rest_preload_api_request()
    array_reduce()
    wp-admin/edit-form-blocks.php:77
    include()
    wp-admin/post.php:179
    ———

    I appreciate any guidance you can provide!

    Best,
    Melissa Valido

    #1177696

    Hi,

    Thank you for using Enfold.

    Sorry for the problem.

    I tried to add a fix in your backend but I cannot modify the php file in theme editor.

    Please replace enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_7_2/shortcode-template.class.php.

    Do not forget to make a copy of the original file for a fallback.

    If you want us to do the update please provide ftp credentials.

    Best regards,
    Günter

    #1177839

    Hey Gunter,

    Thanks so much for looking into this! I would love your help in applying the update – I have included my FTP credentials for your usage. Please let me know if you need anything additional.

    #1178527

    Hi,

    Have you replaced the code that Gunter has provided?
    Your reply does not help us that much I am afraid.

    Best regards,
    Basilis

    #1179462

    Hi Basilis,

    No, I did not replace the code myself… Gunter said “If you want us to do the update please provide ftp credentials.” – So i provided him with the credentials… Can you please FTP in and help me apply the code?

    #1180139

    Hi,

    Thank you for the update.

    The FTP redirects to an empty folder. Please check the user account and make sure that it has access to the right directory.

    The following thread may also help.

    // https://kriesi.at/support/topic/fatal-error-trying-to-edit-page-2/#post-1141368

    Enable the debug mode of the advance layout builder, then look for the Fullwidth Easy Slider shortcode.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode

    Related thread:

    // https://kriesi.at/support/topic/fatal-error-when-trying-to-edit-a-child-theme/
    // https://kriesi.at/support/topic/fatal-error-trying-to-edit-page-3/
    // https://kriesi.at/support/topic/i-cant-save-posts-and-get-an-error-and-a-mail-from-wordpress-technical-prob/

    Best regards,
    Ismael

    #1182116

    This got a little too complicated for me – sorry. I just rebuilt a new homepage and deleted the one that was throwing the error. This seems to address the issue. Thanks.

    #1182478

    Hi,

    Thanks for the update, I’m glad that you found a solution to your problem. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1183703

    You can close the ticket. Thank you.

    #1183871

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘"Uncaught Error" when working with Image Slider’ is closed to new replies.