Welcome Guest, Not a member yet? Register   Sign In
I have lots of errors in my controller...
#2

[eluser]Steve Grant[/eluser]
The "Call to a member function <functionName> on a non-object" error is generally thrown when the class that contains the function hasn't been initialised correctly.

In your example, I would suggest that $this->major hasn't been initialised properly.

Can you post the controller code?


Messages In This Thread
I have lots of errors in my controller... - by El Forum - 11-08-2008, 02:33 AM
I have lots of errors in my controller... - by El Forum - 11-08-2008, 05:05 AM
I have lots of errors in my controller... - by El Forum - 11-08-2008, 07:04 AM
I have lots of errors in my controller... - by El Forum - 11-08-2008, 09:20 AM
I have lots of errors in my controller... - by El Forum - 11-08-2008, 09:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB