Fix WordPress Avada Theme Fatal Error
WordPress Avada Theme Fatal Error: Call to a member function add_style() on a non-objet in ~/themes/Avada/page.php on line 2
If you receive an error from your child theme related to an undefined method, please check your custom template and replace:
<?php Avada()->layout->add_style( 'content_style' ); ?>
With the new code of:
style="<?php esc_attr_e( apply_filters( 'awb_content_tag_style', '' ) ); ?>"