Tagged: fatal error, Php error, Uncaught Error
-
AuthorPosts
-
January 21, 2020 at 3:10 am #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:179January 21, 2020 at 8:36 am #1176601Hey 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,
RikardJanuary 21, 2020 at 7:02 pm #1176899Hey 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 ValidoJanuary 23, 2020 at 4:18 pm #1177696Hi,
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
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ünterJanuary 23, 2020 at 8:07 pm #1177839Hey 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.
January 26, 2020 at 9:59 pm #1178527Hi,
Have you replaced the code that Gunter has provided?
Your reply does not help us that much I am afraid.Best regards,
BasilisJanuary 29, 2020 at 4:44 pm #1179462Hi 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?
January 31, 2020 at 2:57 am #1180139Hi,
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,
IsmaelFebruary 6, 2020 at 7:00 pm #1182116This 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.
February 8, 2020 at 7:21 am #1182478Hi,
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,
RikardFebruary 12, 2020 at 12:06 am #1183703You can close the ticket. Thank you.
February 12, 2020 at 1:56 pm #1183871 -
AuthorPosts
- The topic ‘"Uncaught Error" when working with Image Slider’ is closed to new replies.