Closed (fixed)
Project:
Recruiter Features
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2012 at 03:10 UTC
Updated:
12 Apr 2012 at 10:00 UTC
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
Comment #1
dasjothe 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?
Comment #2
NathanM commentedOk, 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
Comment #3
dasjowe 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