Hi ,
Followed the chapter fully to test it all out and works well, but when no one is logged in and goes to the add_page.php file a fatal error occurs. Is there a way to correct this when someone isn't logged in?
Fatal error: Call to a member function canCreatePage() on a non-object in directory\c09\add_page.php on line 7