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.
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
Comment | File | Size | Author |
---|---|---|---|
#9 | ds-ds_search-apachesolr-1842644-9.patch | 1.99 KB | geertvd |
Comments
Comment #1
henkit CreditAttribution: henkit commentedHi,
Even after fresh D7 install i do get the same error....anyone?
Best regards,
Henk
Comment #2
henkit CreditAttribution: henkit commentedHi,
I installed the 7.x-1.6 module and applied a patch, now it's working :)
Henk
Comment #3
swentel CreditAttribution: swentel commentedSo this is fixed then ?
Comment #4
rp7 CreditAttribution: rp7 commentedIt's not according to me. Getting the exact same error.
Comment #5
swentel CreditAttribution: swentel commentedSomeone will need to give me steps to reproduce as I can't at the moment.
Comment #6
swentel CreditAttribution: swentel commentedStill can't reproduce.
Comment #7
henkit CreditAttribution: henkit commentedHi,
Could i send you the 7.x-1.6 version where i applied the patch on? I can't back the solution...*sigh*
Henk
Comment #8
geertvd CreditAttribution: geertvd commentedHi,
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?
Comment #9
geertvd CreditAttribution: geertvd commentedI had to add some extra lines to the function actually.
Here's the full patch.
Comment #10
aimeerae#9 worked for me. Thank you!
Comment #11
JuliaKoelsch CreditAttribution: JuliaKoelsch commentedPatch also works for me. Thanks!