sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
327 stars 175 forks source link

[Bug] Installer - strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated #965

Open Rushaway opened 1 month ago

Rushaway commented 1 month ago

What are the steps to reproduce this issue?

  1. Run install until page 3

What happens?

image

What were you expecting to happen?

Don't throw php error

Any logs, error output, etc.?

Warning: Undefined variable $sql_version in /install/template/page.3.php on line 154
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /install/template/page.3.php on line 154

Any other comments?

What versions of software are you using?

Operating System: Ubuntu 22.04 SourceBans++ Version: 1.8.0 - 1410 PHP Version: 8.2 MySQL Version: 8 Link to your project: http://heizemod.one/ Link to a phpinfo() output: