Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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).
Comment | File | Size | Author |
---|---|---|---|
#4 | multisort_warning.patch | 958 bytes | jmdeleon |
Comments
Comment #1
egarias CreditAttribution: egarias commentedI was stucked on this but after adding some documents to Solr the problem has gone.
Comment #2
egarias CreditAttribution: egarias commentedchange status
Comment #3
becw CreditAttribution: becw commentedOh, 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.
Comment #4
jmdeleon CreditAttribution: jmdeleon commentedI 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.
Comment #5
jmdeleon CreditAttribution: jmdeleon commentedPatch tested.
Comment #6
jmdeleon CreditAttribution: jmdeleon commentedComment #7
jmdeleon CreditAttribution: jmdeleon commented