Just a small hack in
function search404_page() {}
needed on line with:

$type_search = (module_exists('apachesolr_search')) ? 'apachesolr_search' : ((module_exists('luceneapi_node')) ? 'luceneapi_node' : ((module_exists('xapian')) ? 'xapian' : 'node'));

Comments

glen.pinheiro’s picture

Assigned: Unassigned » glen.pinheiro
glen.pinheiro’s picture

Status: Active » Needs review

I guess the above code snippet is used for selecting the available search module. We have updated this part of the module with a Drupal function 'search_get_default_module_info' which returns information about the default search module available. You could try the latest version of the search404 module 7.x-1.4.
$default_search = search_get_default_module_info();
$type_search = $default_search['module'];

For reference:
https://api.drupal.org/api/drupal/modules!search!search.module/function/search_get_default_module_info/7

anish.a’s picture

Status: Needs review » Closed (works as designed)

Thanks Glen for investigating this issue.

anish.a’s picture