Page MenuHomePhabricator

Deprecated Warning: strlen(): Passing null to parameter #1
Closed, ResolvedPublic

Description

After Upgrading to MediaWiki 1.4.0 (Official Docker Image) I can see the following Error Message on the MediaWiki UI. After reloading the page, the message is gone. If I open the page again in a private browser window, the message is still there.

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/WikiCategoryTagCloud/includes/WikiCategoryTagCloud.php on line 115

would be nice, if someone can fix that.

Thanks!

Event Timeline

Change 952526 had a related patch set uploaded (by Jack Phoenix; author: Jack Phoenix):

[mediawiki/extensions/WikiCategoryTagCloud@master] Don't pass null to strlen() to avoid E_DEPRECATED on PHP 8.1(+)

https://gerrit.wikimedia.org/r/952526

Change 952526 merged by jenkins-bot:

[mediawiki/extensions/WikiCategoryTagCloud@master] Don't pass null to strlen() to avoid E_DEPRECATED on PHP 8.1(+)

https://gerrit.wikimedia.org/r/952526

ashley claimed this task.
ashley removed a project: Patch-For-Review.

Just updated the extension ... deprecated message is gone :-) Thanks a lot for the fast fix!

cheers
Andreas