Found part of the problem in that there are legacy directories such as WA_SecurityAssist...
Found the rule that is throwing the error and fixed the noted problem:
case "UserLoggedIn":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['SecurityAssist_UserID']))?$_SESSION['SecurityAssist_UserID']:"") ."", 2, "");
break;
Wrote me own that works:
<?php if (isset($_SESSION['SecurityAssist_UserID'])) { ?>
Logged In
<?php } else { ?>
<a href="../access.php"> Member log in</a>
<?php } ?>
but would be interested in why the other does not work. Basically looking that IF the Session is present, they are logged in and show the content.