Well, of course, make sure session_start() is being called.
Then use [man]isset/man on it first:
<?php
if (isset($_SESSION["activation_email"])) {
if ($_SESSION["activation_email"] != NULL) {
echo $_SESSION["activation_email"];
}
} else {
//the variable isn't set ... something is wrong? Or do we just log an error ...
}
?>
EDIT: That will take care of the error.
The answer to "why" ... probably has something to do with the variable $member_email not being set when you assign it to the $_SESSION array.