ErrorException [ Fatal Error ]: Call to a member function get_menus_parents() on a non-object

APPPATH/classes/controller/textpages.php [ 32 ]

27                 "name" => $page->name
28             )
29         );
30 
31         while ($help->root != 2) {
32             $help = $help->get_menus_parents();
33             $init = array(
34                 "name" => $help->name,
35                 "link" => url::base() . $lang . "/textpages/category/" . $help->index . "/" . $help->name_trans
36             );
37             array_unshift($way, $init);
  1. {PHP internal call} » Kohana_Core::shutdown_handler()

Environment