Hi,

i get the following error when i enable the display suite search :
Warning: Invalid argument supplied for foreach() in ds_search_search_page() (line 268 of public_html/sites/all/modules/ds/modules/ds_search/ds_search.module).

I do have Solr installed...when i look in the code it seems to relate to multisite...that's something i do not have installed.

Best regards,
Henk

CommentFileSizeAuthor
#9 ds-ds_search-apachesolr-1842644-9.patch1.99 KBgeertvd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

henkit’s picture

Hi,

Even after fresh D7 install i do get the same error....anyone?

Best regards,
Henk

henkit’s picture

Hi,
I installed the 7.x-1.6 module and applied a patch, now it's working :)
Henk

swentel’s picture

Status: Active » Closed (fixed)

So this is fixed then ?

rp7’s picture

Status: Closed (fixed) » Active

It's not according to me. Getting the exact same error.

swentel’s picture

Status: Active » Postponed (maintainer needs more info)

Someone will need to give me steps to reproduce as I can't at the moment.

swentel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Still can't reproduce.

henkit’s picture

Hi,

Could i send you the 7.x-1.6 version where i applied the patch on? I can't back the solution...*sigh*

Henk

geertvd’s picture

Issue summary: View changes
Status: Closed (cannot reproduce) » Active

Hi,

I had the same issue when I selected "Apachesolr search" as search engine.

I noticed that ds_search_search_execute was trying to call apachesolr_search_ds_search_execute but this function has been removed in a recent commit (http://drupalcode.org/project/ds.git/commit/1beebf6320bd80df009d27b97f89...)

When I re-added this function the search worked fine.

Any specific reason why that function was removed?

geertvd’s picture

I had to add some extra lines to the function actually.
Here's the full patch.

aimeerae’s picture

#9 worked for me. Thank you!

JuliaKoelsch’s picture

Status: Active » Reviewed & tested by the community

Patch also works for me. Thanks!