Welcome Guest, Not a member yet? Register   Sign In
Call to a member function get() on a non-object
#9

[eluser]CappY[/eluser]
[quote author="Bas Vermeulen" date="1296921345"]You should return $query->row() instead of $query->result() in your Model because now you are doing DB class work in your view, which isn't working.[/quote]
I get it, thanks. Smile Im using just return $query; then in view Im generating result. $query->result(); and etc. Smile


Messages In This Thread
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 02:02 AM
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 02:24 AM
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 03:25 AM
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 04:55 AM
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 11:25 AM
Call to a member function get() on a non-object - by El Forum - 10-08-2010, 12:36 PM
Call to a member function get() on a non-object - by El Forum - 02-05-2011, 03:01 AM
Call to a member function get() on a non-object - by El Forum - 02-05-2011, 03:55 AM
Call to a member function get() on a non-object - by El Forum - 02-05-2011, 04:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB