Login/Logout Show Region not working
I have a div tag holding three links - Register, Login, Logout. I have used a "show region behaviour/ Logged in to users access rule" with the Logout link so it only shows when users are logged in. This part works as once logged in it appears. But when I click to logout this error message appears on the logout page in the div tag .
Fatal error: Call to undefined function WA_Auth_RulePasses() in /Applications/MAMP/htdocs/team_root/logout.php on line 80
What's Happening here?
Please Help.