When performing a search with search api page (not with search views) i get an error on the results page.

Fatal error: Call to a member function value() on a non-object in /Applications/MAMP/htdocs/tiles/www/sites/all/modules/contrib/search_api/search_api.module on line 1552

Although the error occurs in search api module, it seems to be only caused by the search api page module.

Setup:

  • search api page: 7.x-1.0-beta2
  • search api: 7.x-1.0
  • solr search: 7.x-1.0-rc1
  • search views: 7.x-1.0
  • search facets: 7.x-1.0
  • Search index uses solr server

Observations

  • The error occurs on the search api page when the search returns a result.
  • When using the search index in a search view, no error occurs. When using the same search index on seach page, error occurs.
  • Also happens with dev version of search api page

Also posted in search api issue queue.

Comments

damienmckenna’s picture

Issue summary: View changes
Status: Needs review » Active

Please only change the issue status to "needs review" when there's a patch file to review, just leaving the status at "active" is sufficient when it's initially created.

drunken monkey’s picture

Status: Active » Closed (cannot reproduce)

Since the issue is almost three years old, it is probably solved already.
Otherwise, please re-open!