drupaldrupal-7anonymous-usersdrupal-search

Drupal search yielded no results for anonymous user


I am using Drupal 7.50 Search returns no results for user either he is login or not(Except admin user).

Only admin user can Fetch the search result , but not the other user.

(1) successfully returns results for Administrator account. (2) returns zero results ("Your search yielded no results") for authenticated regular user. (3) returns zero results ("Your search yielded no results") for anonymous/un-authenticated visitor.

Use search selected the anonymous user and all users in admin user permissions area

Please Help me!!!![Search issue in drupal 7.50 version][1]


Solution

  • What content are you querying? If there are some results for Administrator account only, probably you have a permission issue. Please see here more information. PROTIP: If you are using some user fields, there is a permission called "View user information" which is by default only ticked for Admin users.