ErrorException [ Notice ]: Undefined offset: 0

APPPATH/classes/Controller/Static/Blog.php [ 86 ]

81 $post = $this->request->post();82 $name = $this->request->param("post");83 84 View::set_global('pageName', $name);85 86 $blog = self::$modelBlog->getByName($this->lang, $name)[0];87 $content = false;88 $blog['link'] = Route::url('blog-post', array_merge(Request::$current->param(), array('post' => $blog['uri'])));89 90 $this->content = View::factory('blog/post')91 ->bind('blog', $blog)
  1. APPPATH/classes/Controller/Static/Blog.php [ 86 ] » Kohana_Core::error_handler( arguments )

  2. SYSPATH/classes/Kohana/Controller.php [ 85 ] » Controller_Static_Blog->action_post( )

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

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

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

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

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

Environment