[eluser]Unknown[/eluser]
Hi,
I did many jobs in CI. Sometimes i fetched a problem, the problem is,
$this->db->insert() or any member function do work fine, sometimes behave wrong. shows fatal error "call a member function on non-object". I don't know why?
When this type of error occurred, i just instantiated a variable like $ins = & get_instance(); then do $ins->db->insert();that works fine!!.
So my query is why this type of problem occurred? Is this was CI Bug.
Thanks in advanced.