![]() |
Message: Creating default object from empty value ---- Severity: Warning --- ion_auth _controller users - 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: Message: Creating default object from empty value ---- Severity: Warning --- ion_auth _controller users (/showthread.php?tid=56914) |
Message: Creating default object from empty value ---- Severity: Warning --- ion_auth _controller users - El Forum - 01-30-2013 [eluser]dinisptc[/eluser] Message: Creating default object from empty value ---- Severity: Warning --- ion_auth _controller users i have codeigniter 2.1.3 and ion_auth the problem when passes on the user controller i have this warning Code: //set the flash data error message if there is one the warning its on this line $data->the_user = $this->ion_auth->user()->row(); this is the admin view Code: <h1>Protected View aDMIN!!</h1> i am missing something i cannot find what it is Message: Creating default object from empty value ---- Severity: Warning --- ion_auth _controller users - El Forum - 01-30-2013 [eluser]dinisptc[/eluser] i did a print_r of the row stdClass Object ( [id] => 1 [ip_address] => 2130706433 [username] => administrator [password] => 59beecdf7fc966e2f17fd8f65a4a9aeb09d4a3d4 [salt] => 9462e8eee0 [email] => admin@admin.com [activation_code] => [forgotten_password_code] => [remember_code] => 9d029802e28cd9c768e8e62277c0df49ec65c48c [created_on] => 1268889823 [last_login] => 1359549230 [active] => 1 [first_name] => Admin [last_name] => istrator [company] => ADMIN [phone] => 0 ) i dont understand the warning |