-
AuthorPosts
-
August 10, 2021 at 5:45 pm #1316119
Hi there,
I am receiving errors on my website and unsure how to fix them. I have updated to the latest Enfold theme and tried amending PHP settings / tried previous versions and this does not fix the issue.
The error I get is:
Fatal error: Uncaught Error: Call to undefined method avia_masonry::get_element_styles() in /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:673 Stack trace: #0 /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(335): avia_sc_masonry_entries->get_element_styles(Array) #1 /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(920): aviaShortcodeTemplate->create_header_styles(Array, false) #2 /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(955): aviaPostCssManagement->css_rules_from_shortcodes(Array) #3 /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-manageme in /home/customer/www/slapharma.com/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php on line 673
August 12, 2021 at 4:40 am #1316346Hey IMaclean1995,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardAugust 23, 2021 at 5:53 pm #1318022we got the same error updating to 4.8.6.2 did you fix it ?
August 24, 2021 at 6:59 am #1318086Hi roboscrape,
Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.
Best regards,
RikardDecember 23, 2021 at 5:10 pm #1333880Hello,
We are experiencing the same issue. Still present in version 4.8.8.1.
Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined method avia_masonry::get_element_styles() in /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php:682
Stack trace:
#0 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(345): avia_sc_masonry_entries->get_element_styles(Array)
#1 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(940): aviaShortcodeTemplate->create_header_styles(Array, false)
#2 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(975): aviaPostCssManagement->css_rules_from_shortcodes(Array)
#3 /home/aclm/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php(874): aviaPostCssManagement->css_rules_from_shortcodes(Array, ‘file’)
#4 /home/aclm/www/wp-content/t…’Regards,
FrançoisDecember 24, 2021 at 6:18 am #1333924Hi François,
The .htaccess details you posted are working, but the WordPress details are not. Please check and verify.
Best regards,
RikardJanuary 3, 2022 at 3:43 pm #1334073Hello Rikard,
Thank you for your answer.
The user was not created somehow…
I have created it again.
Regards,
FrançoisJanuary 4, 2022 at 4:04 am #1334121Hi François,
Thanks for that. I see that you are overriding av-helper-masonry.php in your child theme, could you try updating that file with the content from the parent theme please?
Best regards,
RikardJanuary 4, 2022 at 5:34 pm #1334250Hello Rikard,
Thank you for your answer.
The av-helper-masonry.php file was overridden in the child theme to fix the
PHP fatal error: Call to undefined method avia_masonry::default_args()
since version 4.8.I see the av-helper-masonry.php file in the Enfold theme now has the default_args() method, so it is now safe to remove the file in the child theme.
The error is solved, thank you!
Regards,
FrançoisJanuary 5, 2022 at 4:32 am #1334302 -
AuthorPosts
- The topic ‘Fatal error: Uncaught Error: Call to undefined method’ is closed to new replies.