Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1292528

    Hihaufengr,

    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,
    Nikko

    #1292759

    Hello Nikko,

    I don’t have this av-helper-slideshow.php in my child theme folder.

    Any advice?

    #1292824

    Hi 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,
    Nikko

    #1292825

    Please find the child theme attached.

    #1293183

    Hi,

    Thank you for the update.

    I don’t have this av-helper-slideshow.php in my child theme folder.

    The file is inside the shortcodes folder in the child theme directory. Please edit the file as @Nikko recommended above, and that should fix the error.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.