ArgumentCountError [ 0 ]: Too few arguments to function Controller_Store::action_brand(), 0 passed in /var/www/dara/system/classes/Kohana/Controller.php on line 84 and exactly 1 expected

APPPATH/classes/Controller/Store.php [ 1899 ]

1894 			define('AJAX_CALL', 1);
1895 			echo $products_view->products_html;
1896 		}
1897 	} 
1898 
1899 	public function action_brand($query)			// pagina - apresenta os produtos de uma marca
1900 	{
1901 		$action = "brand";
1902 
1903 		$CONFIG 							= $this->config( $action,$query );			// obtem o objecto de configurações necessárias para a geração da página
1904 		$products_view						= $this->store->loadview( 'sub_view_storeproductlist' );
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Store->action_brand()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/public/index.php [ 118 ] » Kohana_Request->execute()

Environment