I've got a custom module which implements hook_form(&$node, $state). The search module is installed and running, and after installing the custom module, I get an error message on ever page load that reads:
warning: Parameter 1 to custom_form() expected to be a reference, value given in [path]\includes\theme.inc on line 623.
I did some digging and found that the custom_form() is being called with an argument containing search_theme_form, an array which defines the search bar.
Why is this calling a hook from my custom module and not the search module? How can I set those associations straight?
cmorriss@brafton
Post your Answer