Auth Logout error


When I add the following to my code:

I get this error:
Fatal error: Call to a member function logout() on null in /big/dom/xdonth/www/test/src/phase1.php on line 73

I’m lost!


compare your code carefully with the examples and demos provided.

In your case it seems that $app->auth is not defined

so you need something like this: