There is a bug with the search when a user search multiple content type (including custom post types).
To reproduce, example use search string: https://seventhqueen.com/themes/kleo/?s=the&post_type[]=post,product,page,kleo-testimonials
Expected to show all post results, but it just show only the post results, and gets cut off (turn on WP_DEBUG to see error).
Reason for bug:
/kleo/kleo-framework/lib/function-core.php:311
The use of array_map(‘urlencode’, $query_args) is causing a “urlencode() expects parameter 1 to be string, array given” error, because the first item in the array is post_type which is an array not a string (because the url parameter for multiple post types is an array). To rectify, need to refactor the code for this line to consider situation where $query_args contains an array of array, instead of always an array of strings.