Skip to content

[Bug] Matomo 5.0.2 : /core/Filechecks.php(153): Deprecated - trim(): Passing null to parameter #1 ($string) of type string is deprecated #22101

@heurteph-ei

Description

@heurteph-ei

What happened?

https://forum.matomo.org/t/warning-core-filechecks-php-153/55817
Matomo update from Matomo 5.0.2 to Matomo 5.0.3.
After updating to Matomo 5.03 following message is shown in “Alle Webseiten”:

WARNING: /core/Filechecks.php(153): Deprecated - trim(): Passing null to parameter #1 ($string) of type string is deprecated - Matomo 5.0.2 (Module: CoreUpdater, Action: newVersionAvailable, In CLI mode: false)

What should happen?

No warning message.

How can this be reproduced?

Matomo update from Matomo 5.0.2 to Matomo 5.0.3.
Then go to “Alle Webseiten”:

Matomo version

5.0.2 > 5.0.3

PHP version

probably 8.x

Server operating system

unknown

What browsers are you seeing the problem on?

No response

Computer operating system

No response

Relevant log output

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions