-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad SteamID Format in DB can broke comms page #906
Comments
sory, but the problems are today again: » [Home]» [Ban List] Warning: Trying to access array offset on value of type null in /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/system-functions.php on line 171 Warning: Trying to access array offset on value of type null in /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/system-functions.php on line 171 Fatal error: Uncaught Exception: Invalid SteamID input! in /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/SteamID/SteamID.php:108 Stack trace: #0 /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/SteamID/SteamID.php(84): SteamID\SteamID::resolveInputID() #1 /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/SteamID/SteamID.php(56): SteamID\SteamID::to() #2 /var/www/vhosts/xloldies.de/sb.xloldies.de/pages/page.banlist.php(487): SteamID\SteamID::toSteam3() #3 /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/page-builder.php(143): require_once('...') #4 /var/www/vhosts/xloldies.de/sb.xloldies.de/index.php(29): build() #5 {main} thrown in /var/www/vhosts/xloldies.de/sb.xloldies.de/includes/SteamID/SteamID.php on line 108 [SourceBans++] 1.8.0 | Git: 1294, where can i download : Git: 1320? Many thanks |
What are the steps to reproduce this issue?
What happens?
Comms page doesn't display until you remove bad steamid format from the DB manualy.
Screenshoot
What were you expecting to happen?
Ignore the attempt to display comms performed with bad steamid format
Any logs, error output, etc.?
Any other comments?
What versions of software are you using?
Operating System: nginx
SourceBans++ Version: 1.8.0 (php 8.1 branch) with the lastest release.
PHP Version: 8.1.20
MySQL Version: 10.6.7-MariaDB-2ubuntu1 - Ubuntu 22.04
Link to your project: https://bans.nide.gg/index.php
Link to a phpinfo() output: https://upgradebans.nide.gg/phpinfo.php
The text was updated successfully, but these errors were encountered: