Spotted in production:
Notice: iconv(): Detected an illegal character in input string in /srv/mediawiki/php-1.31.0-wmf.12/extensions/CentralAuth/includes/CentralAuthUser.php on line 1992
Didn't see a stacktrace :(
Spotted in production:
Notice: iconv(): Detected an illegal character in input string in /srv/mediawiki/php-1.31.0-wmf.12/extensions/CentralAuth/includes/CentralAuthUser.php on line 1992
Didn't see a stacktrace :(
Similar to T9004: PHP iconv() notice on bad password input to Special:Userlogin, with E_ALL enabled.. But the "fix" mentioned there is already in the code, so perhaps it stopped working for some reason?
Last 7 days in Logstash on mediawiki-errors:
message | count |
---|---|
ErrorException from line 2010 of /srv/mediawiki/php-1.32.0-wmf.12/extensions/CentralAuth/includes/CentralAuthUser.php: PHP Notice: iconv(): Detected an illegal character in input string | 51 |
ErrorException from line 2010 of /srv/mediawiki/php-1.32.0-wmf.10/extensions/CentralAuth/includes/CentralAuthUser.php: PHP Notice: iconv(): Detected an illegal character in input string | 3 |
ErrorException from line 2010 of /srv/mediawiki/php-1.32.0-wmf.13/extensions/CentralAuth/includes/CentralAuthUser.php: PHP Notice: iconv(): Detected an illegal character in input string | 2 |
(Looks like CentralAuth is currently unowned? – per mw:Maintainers.)
Change 446874 had a related patch set uploaded (by Anomie; owner: Anomie):
[mediawiki/extensions/CentralAuth@master] Silence iconv() warnings in CentralAuthUser
Let's just cut the knot here and use Wikimedia\suppressWarnings() to make the warning go away.
Change 446874 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@master] Silence iconv() warnings in CentralAuthUser
Change 447012 had a related patch set uploaded (by Krinkle; owner: Anomie):
[mediawiki/extensions/CentralAuth@wmf/1.32.0-wmf.13] Silence iconv() warnings in CentralAuthUser
Change 447012 merged by jenkins-bot:
[mediawiki/extensions/CentralAuth@wmf/1.32.0-wmf.13] Silence iconv() warnings in CentralAuthUser
Mentioned in SAL (#wikimedia-operations) [2018-07-20T01:38:47Z] <krinkle@deploy1001> Synchronized php-1.32.0-wmf.13/extensions/CentralAuth/includes/CentralAuthUser.php: T170971 (duration: 00m 55s)