*This happens when you verify the account through mail.
In /plugins/user/phpbb3.php, replace line 92:
from
if(!isset($userid)) {
to
if (( ! isset( $userid )) || ( strlen( $userid ) == 0 )) { // it's set, but has no value
Forum Source