Hi @tanmccuin
Could you please share the search.php file? Also, please make sure that this isn’t caused by other plugins or other functions in your theme by trying to reproduce the issue on one of the WordPress’ stock themes (like Twenty Fifteen) with other plugins deactivated.
Thanks!