Call to a member function getDefaultValues() on null error |
You refer to a variable $login, which does not appear to be initialized.
It appears that you expect it to refer to your Loginmodel, which would happen if your controller had Code: $this->load->('loginmodel','login'); See https://www.codeigniter.com/user_guide/l...der::model |
Messages In This Thread |
Call to a member function getDefaultValues() on null error - by Hadiri - 10-31-2018, 10:46 AM
RE: Call to a member function getDefaultValues() on null error - by ciadmin - 10-31-2018, 01:18 PM
RE: Call to a member function getDefaultValues() on null error - by Hadiri - 10-31-2018, 10:15 PM
RE: Call to a member function getDefaultValues() on null error - by ciadmin - 10-31-2018, 11:56 PM
RE: Call to a member function getDefaultValues() on null error - by Hadiri - 11-02-2018, 06:34 AM
RE: Call to a member function getDefaultValues() on null error - by Hadiri - 11-05-2018, 11:48 PM
|