apachesolr_multisitesearch_apachesolr_delete_by_query_alter() should be defined as passing the $query variable by reference. Given that the $query variable is a string and not an object, we must declare that it should be passed by reference. The apachesolr documentation is incorrect, but an issue (#1996366: documenation for hook_apachesolr_delete_by_query_alter should define $query as being passed by reference) has been raised to fix that.

The attached patch fixes the issue for apachesolr_multisitesearch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin’s picture

Status: Needs review » Fixed

thanks, committed to 7.x and 6.x-3.x

Status: Fixed » Closed (fixed)

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