After upgrading to 4.9 I am now getting an error on my page that uses the Partner/Logo Element
[21-Mar-2022 18:57:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined method avia_partner_logo::default_args() in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php:789
Stack trace:
#0 /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php(858): avia_sc_partner_logo->get_element_styles(Array)
#1 /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1142): avia_sc_partner_logo->shortcode_handler(Array, '', 'av_partner', Array)
#2 /wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '', 'av_partner')
#3 [internal function]: do_shortcode_tag(Array)
#4 /wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(av_par...', 'do_shortcode_ta...', '</p>[av_partner...')
#5 /wp-content/themes/enfo in /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php on line 789
Hey Christie,
Thank you for the inquiry.
Did you modify or override the corresponding Partner/Logo Element shortcode file in the child theme? Please make sure to get the latest version of the file from the parent theme and redo the modifications.
Best regards,
Ismael
Yes – I did have a hidden customization which I found and updated to solve the problem. Thank you!
Hi christiemade,
We’re glad that you were able to resolve the issue :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko