ErrorException [ Notice ]: Undefined index: page_style

APPPATH/classes/Controller/Welcome.php [ 589 ]

584 
585       $path = $pm->getPath($id);
586       $pc = count($path);
587       
588       if($pc) {
589         $this->pageStyle = $path[0]['page_style'];
590       }
591 
592       $pathStr = HTML::anchor('', 'Главная') . ' » ';
593 
594       for ($i = 0; $i < $pc; $i++) {
  1. APPPATH/classes/Controller/Welcome.php [ 589 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Welcome.php [ 155 ] » Controller_Welcome->getPagePath(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Welcome->action_blog()

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

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

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

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

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

Environment