Search function not working

After one of the latest Avada updates (do not exactly which, I am now using latest 7.9.2) my Search function does not work. I only get a white page.
The following is found in the dubug file:

[24-Jan-2023 10:18:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Avada_Layout::add_class() in C:\MAMP\htdocs\wordpress\wp-content\themes\Avada-Child-Theme\search.php:15
Stack trace:
#0 C:\MAMP\htdocs\wordpress\wp-includes\template-loader.php(106): include()
#1 C:\MAMP\htdocs\wordpress\wp-blog-header.php(19): require_once(‘C:\MAMP\htdocs\…’)
#2 C:\MAMP\htdocs\wordpress\index.php(17): require(‘C:\MAMP\htdocs\…’)
#3 {main}
thrown in C:\MAMP\htdocs\wordpress\wp-content\themes\Avada-Child-Theme\search.php on line 15
[24-Jan-2023 10:18:32 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\MAMP\htdocs\wordpress\wp-includes\functions.php on line 5279
[24-Jan-2023 10:18:32 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\MAMP\htdocs\wordpress\wp-includes\functions.php on line 5279

Please help

Hi @svenandersosab,

Hope you have updated child theme as well!
Please contact the author of your purchased theme, the author will assist you.

How to contact an author to get support or for any technical query:

Thanks

1 Like