11-08-2017, 04:29 PM (This post was last modified: 11-09-2017, 02:58 AM by muldock.)
Hi! I've been struggling trying to figure out what's going on to my code.
I updated CI version of a application from 2x to the latest one available. This app uses tank_auth and grocery_crud. I'm aware that tank_auth is not fully compatible with CI 3x (there is no official updates to CI 3). About crud, I updated it to its latest version as well.
Finishing setting up CI and going through the Upgrading Documentation I went to test my application and here we go, it keeps me returning this error message:
function getPerfilUser() { //return $this->session->userdata['user_id_perfil']; }
function getIdUser() { //return $this->session->userdata['user_id']; }
function exibirMenu() { echo '<pre>'; print_r($this->getMenu()); echo '</pre>'; } }
I thought the problem could be the tank_auth library, so I removed it completely. The problem persisted. In my Home Controller when I comment the lines:
PHP Code:
$this->load->library('menu'); $menu = new menu(); $this->data['menu'] = $menu->getMenu();
I guess the problem is related with the Home class, but I can't figure it out.