Tagged: fatalerror, slideshowhelper
hi,
there has been somechanges the last 2 years on a website. With wordpress updates and enfold. I now notice a page with masonry gallery is giving a fatal error.
The error is:
AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined method avia_masonry::default_args() in /home/cs020/domains/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery/masonry_gallery.php:651\
Somewhere on the forum I found that ‘i am missing the av-slideshow-helper.php in my child theme’. Which seems to be correct, but I do not know how to obtion this file and in what directory to put it?
With some old backups I did find a slideshow helper, but this was also missing a default_arg function so this was not of much help.
Hey Deef,
Please download the theme files from your Themeforest account, then unpack that package and search for the file there. You can then upload the file via FTP.
Best regards,
Rikard
Hi,
I could not find the av-slideshow-helper.php as mentioned in another message but I did find something close:
enfold\config-templatebuilder\avia-shortcode-helpers\class-avia-slideshow.php
which has a default_arg function on line 127
Should I put this file in my child theme? And should I put it in the root of the childtheme or in \config-templatebuilder\avia-shortcode-helpers\?
Hi,
You are likely better off simply overwriting the parent theme completely. If the problem should still exist after that, then please try to activate the parent to see what happens then. If the problem goes away then the problem is likely caused by something in your child theme.
Best regards,
Rikard