When enabling Apache Solr OG: Filter by Organic Group on the Enabled Filters form, I get the following warning when configuring the resulting block:

warning: Missing argument 2 for apachesolr_facetcount_form(), called in /blahblah/sites/all/modules/apachesolr/contrib/apachesolr_og/apachesolr_og.module on line 170 and defined in /blahblah/sites/all/modules/apachesolr/apachesolr.module on line 915.

Then, when a search is run, a white screen of death ensues.

I insanely attempted to add a second parameter to the call ($edit), and the warning went away, but again the search resulted in WSOD.

CommentFileSizeAuthor
#1 facetcount-funcs-530196-1.patch829 bytespwolanin

Comments

pwolanin’s picture

Version: 6.x-1.0-rc1 » 6.x-2.x-dev
Status: Active » Patch (to be ported)
StatusFileSize
new829 bytes

Apparently I missed that module when the function signatures changed.

apachesolr.module:940:function apachesolr_facetcount_form($module, $delta) {

apachesolr.module:976:function apachesolr_facetcount_save($edit) {

Committed attached patch to 6.x-1.x, Robert please port to 2.x

pwolanin’s picture

Title: Filter by Organic Group problem... » Apache Solr Organic Group facet block forms broken
robertdouglass’s picture

Sub.

robertdouglass’s picture

Status: Patch (to be ported) » Fixed

Committed to 6.2.

Status: Fixed » Closed (fixed)

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