this function causes troubles and plenty error messages even if the Option enable creativecommons extended search features is disabled. please completeley disable this "feature" as long as it causes error messages galore.

Comments

hermes14’s picture

Priority: Major » Critical

Following.
It causes me a WSOD. Here's an excerpt from apache log:
[Sun Oct 21 15:06:06 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function search_query_extract() in /srv/http/vhosts/myhost/htdocs/sites/all/modules/creativecommons/creativecommons.module on line 1513

At line 1513 there's a call to search_query_extract.
Where is search_query_extract defined? Drupal 7 APIs don't mention it. It looks like it has been removed from the search module.
See http://api.drupal.org/api/search/7/search_query_extract

Please, review it, because it renders the module pretty unusable!

oystercrackher’s picture

I am getting the same error message in #1 above after I enable the module.

Fatal error: Call to undefined function search_query_extract() in C:\Melissa\Drupal\_MySites\SDTN\dev1.sdtn.com\drupal_7.x\sites\all\modules\creativecommons\creativecommons.module on line 1513

Thanks

kreynen’s picture

Title: creativecommons_form_search_form_alter » Fatal Error when using Search
Assigned: Unassigned » kreynen
Status: Needs review » Needs work