Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1303404

    Hi,

    currently I’m working on an update for a client. I’m trying to update the Enfold theme to the latest version available (4.8.3).
    This results in a fatal error of which I’ve found 2 similar threads (https://kriesi.at/support/topic/homepages-wont-load-after-upgrading-to-both-4-8-and-4-81/#post-1288743 & https://kriesi.at/support/topic/getting-error-in-slideshow-php-after-4-8-theme-update/) but these weren’t able to help me. I’ve checked the “av-helper-slideshow.php” file and it does contain the public static function “default_args()”. I’ve also replaced the entire theme folder multiple times.

    I’m receiving the following fatal error:

    PHP Fatal error:  Uncaught Error: Call to undefined method avia_slideshow::default_args() in C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-content\\themes\\enfold\\config-templatebuilder\\avia-shortcodes\\slideshow_fullsize\\slideshow_fullsize.php:994
    Stack trace:
    #0 C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-content\\themes\\enfold\\config-templatebuilder\\avia-template-builder\\php\\shortcode-template.class.php(1130): avia_sc_slider_full->shortcode_handler(Array, '<br />\\n[av_slid...', 'av_slideshow_fu...', Array)
    #1 C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-includes\\shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '<br />\\n[av_slid...', 'av_slideshow_fu...')
    #2 [internal function]: do_shortcode_tag(Array)
    #3 C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-includes\\shortcodes.php(218): preg_replace_callback('/\\\\[(\\\\[?)(av_ser...', 'do_shortcode_ta...', '[av_slideshow_f...')
    #4 C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-includes\\class-wp-hook.php(292): do_shortcode('[av_slideshow_f...')
    #5 C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-in in C:\\EasyPHP-Devserver-17\\eds-www\\peek\\wp-content\\themes\\enfold\\config-templatebuilder\\avia-shortcodes\\slideshow_fullsize\\slideshow_fullsize.php on line 994

    I’m currently running the website locally.

    • This topic was modified 3 years, 3 months ago by CS.
    #1303420

    After further investigation it seems that code in the child theme is causing the trouble. This thread can be closed.

    #1303683

    Hi,

    Great, I’m glad that you found the cause of your problem, and thanks for the update. I’ll go ahead and close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Call to undefined method avia_slideshow::default_args() after updating to 4.8.3’ is closed to new replies.