Dear Support Team,
I’m writing to request assistance regarding a recurring PHP warning generated by the theme on my WordPress site. The affected file is:
/wp-content/themes/daiwa/config-templatebuilder/avia-shortcodes/search/search.php
The warning message is as follows:
PHP Warning: Undefined variable $ajax_container in search.php on line 808
This warning appears frequently in the server error logs.
I am currently using a child theme, where I have made some customizations to the search field. However, the search.php file has not been directly modified. The version of the parent theme installed is 5.6.10, and the PHP version in use is 8.1.32.
Could you please advise whether this is a known issue, and if there is a recommended fix or update?
I’m happy to provide any additional information or files if needed.
For your convenience, I’ve attached the original files related to the issue.
Best regards
Hey vbonora,
Could you try updating the theme to the latest version (7.1) to see if that helps please? https://kriesi.at/documentation/enfold/theme-update/.
Best regards,
Rikard
I’m trying to update, but in this case do I also need to change the PHP version and something in the search.php file of my child theme?