In http://mysite.com/admin/config/search/search_api/server/solr/sarnia/prop...
had this error:

Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in sarnia_entity_properties_table() (line 329 of /sites/all/modules/sarnia/sarnia.entities.inc).

CommentFileSizeAuthor
#4 multisort_warning.patch958 bytesjmdeleon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

egarias’s picture

I was stucked on this but after adding some documents to Solr the problem has gone.

egarias’s picture

Status: Active » Fixed

change status

becw’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Assigned: Unassigned » becw
Priority: Normal » Minor
Status: Fixed » Active

Oh, that's interesting. I'm going to re-open this as low-priority--it should be an easy fix the next time I'm doing work on this.

jmdeleon’s picture

Issue summary: View changes
FileSize
958 bytes

I would get this error periodically too... repeated cache flushing would resolve this, but it would often take several flushes. Dove into that specific part of the code and saw that the sort array was being inconsistently used. Whipped up a patch to remedy this.

jmdeleon’s picture

Status: Active » Reviewed & tested by the community

Patch tested.

jmdeleon’s picture

Status: Reviewed & tested by the community » Fixed
jmdeleon’s picture

Version: 7.x-1.x-dev » 7.x-1.1-beta4
Status: Fixed » Closed (fixed)