I'm getting this error with the default search/job view, but not on any of the administrative views. Any idea what could be causing this?

Full text:
Fatal error: Call to a member function sort() on a non-object in /home/asiascen/public_html/hkscene.com/sites/all/modules/search_api/contrib/search_api_views/includes/query.inc on line 123

Comments

dasjo’s picture

Title: Fatal error: Call to a member function sort() on a non-object in /home/asiascen/public_html/hkscene.com/sites/all/modules/search » Fatal error: Call to a member function sort() on a non-object in .../modules/search

the difference between those views, is that search/job is using search_api while the administrative views are just standard views.
is your apache solr setup correct? does search/resume work?

NathanM’s picture

Ok, it seems I didn't have the default index enabled, which is why it was bringing up that error. Now I've enabled it and can access the page fine. However, it seems that it won't index job entities, (it indexed 288/290 items, and the two it couldn't were "jobfromtemplate" entities. I checked my log, and it is bringing up a 400 bad request error.

Type search_api_solr
Date Tuesday, March 27, 2012 - 18:35
User admin
Location http://www.hkscene.com/admin/config/search/search_api/index/job_search/s...
Referrer http://www.hkscene.com/admin/config/search/search_api/index/job_search/s...
Message An error occurred while indexing: '400' Status: Bad Request.
Severity error

dasjo’s picture

Status: Active » Fixed

we should discuss one single problem per issue.
i guess the "call to a member function" problem was fixed, so lets discuss this as a separate issue then

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.