-
AuthorPosts
-
July 30, 2021 at 8:16 pm #1313512
We tried upgrading our Enfold theme from version 4.7.6.4 To 4.8.5 and got this error:
[30-Jul-2021 17:33:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined method avia_magazine::get_defaults() in /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php:526
Stack trace:
#0 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1258): avia_sc_magazine->shortcode_handler(Array, ”, ‘av_magazine’, Array)
#1 /home/XXXX/public_html/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_magazine’)
#2 [internal function]: do_shortcode_tag(Array)
#3 /home/XXXX/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_hea…’, ‘do_shortcode_ta…’, ‘\n[av_hr class=’…’)
#4 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(506): do_shortcode(‘\n[av_hr class=’…’)
#5 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/colu in /home/alanseid/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php on line 526Is there something special we need to do to make this upgrade? For now we just rolled back. We do have a child theme in place if that makes a difference.
- This topic was modified 3 years, 3 months ago by aseiden. Reason: Forgot to include FTP password
August 2, 2021 at 6:35 am #1313819Hi aseiden,
Thanks for the login details, and sorry for the late reply. I see that you have the old version active for now, are we allowed to temporarily activate the new version in order to see the actual problem on your site? We are planning to release a new version of the theme later today, so you might want to hold off and try that version instead.
Best regards,
RikardAugust 3, 2021 at 10:18 pm #1314231You can certainly try activating it yourself so long as you use the FTP connection to restore the old theme afterwards.
I just tried updating to the new version 4.8.6 and got the same error as before:
[03-Aug-2021 20:12:01 UTC] PHP Fatal error: Uncaught Error: Call to undefined method avia_magazine::get_defaults() in /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php:526
Stack trace:
#0 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1258): avia_sc_magazine->shortcode_handler(Array, ”, ‘av_magazine’, Array)
#1 /home/XXXX/public_html/wp-includes/shortcodes.php(356): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_magazine’)
#2 [internal function]: do_shortcode_tag(Array)
#3 /home/XXXX/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(av_hea…’, ‘do_shortcode_ta…’, ‘\n[av_hr class=’…’)
#4 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(506): do_shortcode(‘\n[av_hr class=’…’)
#5 /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/colu in /home/XXXX/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine/magazine.php on line 526August 5, 2021 at 1:03 pm #1314657Hi,
Thanks for the update. Does the same thing happen when the parent theme is active? I’m asking since I can see that you are overriding magazine.php in your child theme, and it’s that file which looks to be throwing the errors. You might have to copy the content of the new parent theme file, and apply your overrides again in that file. If you can’t try this on your live site, then please copy the site to a staging area.
Best regards,
RikardNovember 26, 2021 at 9:59 am #1330566Thanks for the catch on that. We’ve removed our customized version and that let us upgrade just fine.
November 26, 2021 at 11:52 am #1330582 -
AuthorPosts
- You must be logged in to reply to this topic.