Hi
I get the following error from my Search results() function that I pasted from tutorial-4 exactly into my page controller when I submit a search query.
Missing argument 2 for Page_Controller::results()
my page_controller results() function as follows where $form is undefined.
function results($data, $form){
$data = array(
'Results' => $form->getResults(),
'Query' => $form->getSearchQuery(),
'Title' => 'Search Results'
);
return $this->customise($data)->renderWith(array('Page_results', 'Page'));
}