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

jdanthinne’s picture

Which version of the Solr module are you using? So I'll try to reproduce the bug.

RaulMuroc’s picture

I am using Apache Solr Search 7.x-1.0-rc2.

If any other info may help you, let me know.

Thank you.

jdanthinne’s picture

Strange, 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

RaulMuroc’s picture

Thanks 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.

jdanthinne’s picture

Status: Active » Fixed
RaulMuroc’s picture

With the patch: Anyway it solved that bug hence it appeared another error:

Notice: Undefined index: core_search in page_manager_search_build_subtask() (line 216 of /var/www/vhosts/.../httpdocs/sites/all/modules/ctools/page_manager/plugins/tasks/search.inc).

But perhaps is more related to ctools.

Status: Fixed » Closed (fixed)

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