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.
This happens when I use the basic/typical search box by default through Apache Solr Search Integration. It began to happen when I updated Custom Search 7.x-1.11 to 7.x-1.12.
Comments
Comment #1
jdanthinne CreditAttribution: jdanthinne commentedWhich version of the Solr module are you using? So I'll try to reproduce the bug.
Comment #2
RaulMuroc CreditAttribution: RaulMuroc commentedI am using Apache Solr Search 7.x-1.0-rc2.
If any other info may help you, let me know.
Thank you.
Comment #3
jdanthinne CreditAttribution: jdanthinne commentedStrange, using the same version as you, everything's fine…
Can you create a temp admin account on your site so I can check the settings?
And can you try a simple fix also?
Replace
$solr_info = apachesolr_search_page_load('core_search');
by
$solr_info = (array) apachesolr_search_page_load('core_search');
at line 21 of custom_search/includes/apachesolr_search.inc
Comment #4
RaulMuroc CreditAttribution: RaulMuroc commentedThanks for nice intention but I cannot provide an admin account because it is a corporative website and I am not allowed for.
Anyway, I tried your suggested solution and it worked nice :-) Perhaps is a simple but interesting change to be applied in -dev.
Thank you.
Comment #5
jdanthinne CreditAttribution: jdanthinne commentedAllright, pushed to -DEV.
http://drupalcode.org/project/custom_search.git/commit/20144e6
Comment #6
RaulMuroc CreditAttribution: RaulMuroc commentedWith the patch: Anyway it solved that bug hence it appeared another error:
But perhaps is more related to ctools.