Archive for December, 2012:

Call to a member function … on a non-object

This error usually means that either your code is expecting a variable that isn’t there (so for instance your database needs populating) or your code has assigned the variable in such a way that it can’t be picked up correctly. You can’t simply ‘echo’ the object variable to see what has been assigned however by

(Read More…)