Topic on Talk:Release notes/1.39

Deprecated: trim() -- Overlooked case(?)

2
Summary by MvGulik

Side effect of MW upgrade process by host.

MvGulik (talkcontribs)

.

MediaWiki: 1.39.10
PHP: 8.1.30 (apache2handler)
MariaDB: 11.5.2-MariaDB-ubu2404
ICU: 72.1
Page: Special:BotPasswords
Error: Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/includes/specials/SpecialBotPasswords.php on line 254
Me: Just admin of some MW-wiki. (ie:not hosting it)
Jdforrester (WMF) (talkcontribs)

Hi there. This was fixed in r855151 which was released as part of the 1.39.0 release of MediaWiki (and 1.38.5+). This suggests that the wiki you were browsing tried to upgrade their code in-place rather than use a release, and missed this patch. Unfortunately there's not much we can do in these cases (other than encourage them to upgrade to the new LTS version, 1.43.0, next week when it comes out).