ErrorException [ Notice ]: Undefined index: name

APPPATH/bootstrap.php [ 26 ]

21 
22 
23 
24 
25 Route::set('ebooks', 'ke-stazeni(/<name>)')->filter(function ($route, $params, $request) {
26   $book = ORM::factory('Ebook')->where('cms_uri', '=', $params['name'])->filter()->find();
27   if (!$book->id) {
28     return false;
29   }
30 })->defaults([
31   'controller' => 'Ebooks',
  1. APPPATH/bootstrap.php [ 26 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Breezy_CMS::{closure}(arguments)

  3. SYSPATH/classes/Kohana/Route.php [ 465 ] » call_user_func(arguments)

  4. SYSPATH/classes/Kohana/Request.php [ 466 ] » Kohana_Route->matches(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 938 ] » Kohana_Request::process(arguments)

  6. MODPATH/breezy/classes/Breezy/Request.php [ 73 ] » Kohana_Request->execute()

  7. DOCROOT/index.php [ 155 ] » Breezy_Request->execute()

Environment