Skip to content

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

@Rushaway

Description

@Rushaway

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions