ErrorException [ Notice ]: Undefined variable: subs

APPPATH/classes/controller/page/tree.php [ 1032 ]

1027                             ->and_where('tree_visible', '=', 1)
1028                             ->order_by('tree_prior')
1029                             ->find_all();
1030                 }
1031             }
1032             $this->response->body(View::factory('page/tree/all/production_catalog', array('main_page'=>$main_page, 'pages'=>$pages, 'subs'=>$subs, 'sub_subs'=>$sub_subs, 'path'=>$path)));
1033         }
1034         
1035 //        public function action_small_productions()
1036 //        {
1037 ////            $page=$GLOBALS["cur_page"];
  1. APPPATH/classes/controller/page/tree.php [ 1032 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Page_Tree->action_small_production_catalog()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  6. APPPATH/classes/controller/page/main.php [ 225 ] » Kohana_Request->execute()

  7. {PHP internal call} » Controller_Page_Main->action_index()

  8. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  9. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  10. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  11. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment