Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1308198

    Hello!

    I’ve encountered a similar problem with Masonry that occurs with the Woo Commerce plugin:

    Fatal error: Uncaught Error: Call to undefined method avia_masonry::default_args() in /home/customer/www/staging8.slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:640 Stack trace: #0 /home/customer/www/staging8.slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php(979): avia_sc_masonry_entries->shortcode_handler(Array, ”, ‘av_masonry_entr…’, Array) #1 /home/customer/www/staging8.slapharma.com/public_html/wp-includes/shortcodes.php(343): aviaShortcodeTemplate->shortcode_handler_prepare(Array, ”, ‘av_masonry_entr…’) #2 [internal function]: do_shortcode_tag(Array) #3 /home/customer/www/staging8.slapharma.com/public_html/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(av_mas…’, ‘do_shortcode_ta…’, ‘[av_masonry_ent…’) #4 /home/customer/www/staging8.slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/ in /home/customer/www/staging8.slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 640

    I’ve disabled all the plugins and I’ve also tried finding reinstalling Enfold – but no luck with a fix.

    Any ideas?

    • This topic was modified 3 years, 4 months ago by Joe.
    #1308360

    Hi Joe,

    Thanks for giving us admin access to your staging site.
    I have modified av-helper-masonry.php in your child theme (I just added the missing function, but since it’s a bit outdated I would suggest updating it based on Enfold 4.8.3).
    Just copy its content to the live site and that should fix it.

    Best regards,
    Nikko

    #1308362

    Nikko,

    That’s really kind of you to do that! The best support in the world!

    Just to be clear: Are you suggesting that I need to copy that php file from the source Enfold theme (4.8.3) to the child one on Staging 8?

    Thanks in advance :-)

    • This reply was modified 3 years, 4 months ago by Joe.
    #1308379

    Hi Joe,

    You’re welcome :)
    As for the suggestion, I apologize it wasn’t clear, I was just pointing to copy the av-helper-masonry.php file in the child theme of the staging site and replace the one in the live site (this is just to remove the error).
    But I’m also suggesting that you update the av-helper-masonry.php file since I only supplied the missing function so it may be lacking some updated functions, you can just compare it with the av-helper-masonry.php file on the parent theme (since it’s updated) and just replace the old code, just be careful not to remove the tweaks you’ve made.

    Best regards,
    Nikko

    #1308380

    Nikko,
    Perfectly clear. Thanks :-)

    #1308384

    Hi Joe,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Problem with Masonry’ is closed to new replies.