After upgrading to Apachesolr 7.x-1.1 this fatal error occurs.

Fatal error: Call to undefined function apachesolr_search_form_search_form_alter() in /docroot/sites/all/modules/contrib/ds/modules/ds_search/ds_search.module on line 523

#5 1823126-5.patch1.95 KBswentel
Members fund testing for the Drupal project. Drupal Association Learn more


davexoxide’s picture

For now commenting out line 523 of ds_search.module gets rid of WSOD

swentel’s picture

Version: 7.x-2.0 » 7.x-1.x-dev

Wrong branch

micahtaylor’s picture

Version: 7.x-1.x-dev » 7.x-1.6

Is this only resolved in 7x-2.0? Or can this be resolved in 7.x-1.6?

swentel’s picture

It can be solved, I should have some time this weekend to post a patch for this.

swentel’s picture

Status: Active » Needs review
1.95 KB

This should fix it and add support for the latest solr form altering.

micahtaylor’s picture

Patch seems to be working for me.


torrance123’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, patch works for me too.

swentel’s picture

Committed and pushed, thanks!

swentel’s picture

Status: Reviewed & tested by the community » Fixed

And fixed of course.

Status: Fixed » Closed (fixed)

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