[upgrade/index.php]: Fixed php strict
[Logs]: Fixed issue if session not available