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
Comment #1
glen.pinheiro commentedComment #2
glen.pinheiro commentedI 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
Comment #3
anish.a commentedThanks Glen for investigating this issue.
Comment #4
anish.a commented