June 30, 2021 at 6:44 pm #1308198
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.
July 1, 2021 at 5:24 pm #1308360
- This topic was modified 2 years, 2 months ago by 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.
NikkoJuly 1, 2021 at 5:30 pm #1308362
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 :-)
July 1, 2021 at 6:00 pm #1308379
- This reply was modified 2 years, 2 months ago by 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.
NikkoJuly 1, 2021 at 6:02 pm #1308380July 1, 2021 at 6:19 pm #1308384
- The topic ‘Problem with Masonry’ is closed to new replies.