
-
AuthorPosts
-
April 4, 2021 at 11:55 am #1292196
Hello guys,
after updating to latest WordPress 5.7, masonry gallery stopped working. In every page that has a gallery in, it throws an wordpress error.
Same thing happens if I try to edit the page.
I’m using latest theme version.
This is the error I get with debug mode:
Fatal error: Uncaught Error: Call to undefined method avia_masonry::default_args() in /httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery/masonry_gallery.php:584 Stack trace: #0 /httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(1130): avia_sc_masonry_gallery->shortcode_handler(Array, ”, ‘av_masonry_gall…’, Array) #1 /httpdocs/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_masonry_gall…’) #2 [internal function]: do_shortcode_tag(Array) #3 /httpdocs/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(av_mas…’, ‘do_shortcode_ta…’, ‘<br />\n[av_maso…’) #4 /httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-helper.class.php(503): do_shortcode(‘<br />\n[av_maso…’) #5 in /httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery/masonry_gallery.php on line 584
April 5, 2021 at 4:04 pm #1292528Hihaufengr,
I believe your issue is similar to https://kriesi.at/support/topic/homepages-wont-load-after-upgrading-to-both-4-8-and-4-81/#post-1288743
Your av-helper-slideshow.php in the child theme might be missing this static function: default_args
Best regards,
NikkoApril 6, 2021 at 12:49 pm #1292759Hello Nikko,
I don’t have this av-helper-slideshow.php in my child theme folder.
Any advice?
April 6, 2021 at 4:27 pm #1292824Hi haufengr,
Can you give us temporary admin access? or you can upload the child theme to https://ufile.io/ (or dropbox) then put the link here in private content, so we can check.
Best regards,
NikkoApril 6, 2021 at 4:30 pm #1292825Please find the child theme attached.
April 8, 2021 at 6:53 am #1293183 -
AuthorPosts
- You must be logged in to reply to this topic.