Flexi Auth, $this->flexi_auth->insert_user() shows “Creating default object from empty value” error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Flexi Auth, $this->flexi_auth->insert_user() shows “Creating default object from empty value” error (/showthread.php?tid=61043) |
Flexi Auth, $this->flexi_auth->insert_user() shows “Creating default object from empty value” error - El Forum - 09-04-2014 [eluser]Unknown[/eluser] I'm starting with Flex Auth in CodeIgniter, and I should missed or misunderstood something. Any idea why this piece of code is giving an "Creating default object from empty value" error ? My code : Code: $this->load->library('flexi_auth'); An other try with FALSE for $user_data : Code: $this->flexi_auth->insert_user($email, $username, $password, FALSE, $group_id, $activate); User is added to database. But there is this error on the page : Code: A PHP Error was encountered This is the models/flexi_auth_lite_model.php line 47 : Code: $this->auth->session_name = $this->config->item('sessions','flexi_auth'); I did not found something on internet I could understand with "flexi_auth->insert_user" and "Creating default object from empty value". Thanks for help. Nils. |