Search Error

I having a problem with my search. I know i probably made some small mistaken but i can't find it and someone can give me a hint that'll be great.

The site is http://www.bollywoodstop.com/ and when the search is empty or results are zero i get a error

Songs Results for
Notice: Undefined variable: searchwords in xxx/themes/default/search.php on line 25

Comments

  • You have fallen into code that expects a variable to exits (`$searchwords`) but you have not ececuted the code that initializes it. Perhaps the easiest thing to do is put `$searchwords='';` at the beginning of the script. However, this may also be a symptom of a logic error in your changes, so you might want to figure out why you are try to use the variable when there is an empty search result.
Sign In or Register to comment.