ErrorException [ Warning ]: Missing argument 2 for Controller_Program::action_category()

APPPATH/classes/controller/program.php [ 112 ]

107 
108         View::set_global('downloadUrls', $downloadUrls);
109         View::set_global('canonicalUrl', 'https://holyfile.com/programs');
110     }
111 
112     public function action_category($category, $id)
113     {
114         $category = $this->category->getById($id);
115         if (!$category->loaded()) Request::instance()->redirect(Route::get('not-found')->uri(), 404);
116 
117         require_once(APPPATH . 'program-urls-for-sites.php');
  1. APPPATH/classes/controller/program.php [ 112 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Program->action_category(arguments)

  3. SYSPATH/classes/kohana/request.php [ 1114 ] » ReflectionMethod->invokeArgs(arguments)

  4. APPPATH/bootstrap.php [ 605 ] » Kohana_Request->execute()

  5. DOCROOT/index.php [ 86 ] » require(arguments)

Environment