could not fetch search_query record in setreference.php