@MichaelRoosz opened this Issue on April 21st 2022 Contributor

With Matomo 4.9.0, I see lots of these warnings:

1.

WARNING Referrers
plugins/Referrers/Columns/Base.php(525): 
Deprecated - mb_strtolower(): Passing null to parameter <a href='/1'>#1</a> ($string) of type string is deprecated

2.

WARNING Referrers
plugins/Referrers/Columns/Base.php(478): 
Deprecated - urldecode(): Passing null to parameter <a href='/1'>#1</a> ($string) of type string is deprecated

Problem 1 I solved temporarily by replacing
$this->keywordReferrerAnalyzed = mb_strtolower($this->keywordReferrerAnalyzed);
with
$this->keywordReferrerAnalyzed = mb_strtolower($this->keywordReferrerAnalyzed ?? '');

But I am not sure this is the best fix.

@justinvelluppillai commented on April 21st 2022 Contributor

Hi @MichaelRoosz - that fix looks fine to me, it'd be great if you could make a Pull Request for that. The other warning would be a similar fix to the same file.

@MichaelRoosz commented on April 22nd 2022 Contributor
This Issue was closed on April 25th 2022
Powered by GitHub Issue Mirror