mediawiki-skins-Citizen icon indicating copy to clipboard operation
mediawiki-skins-Citizen copied to clipboard

Deprecated: mb_convert_encoding():

Open krolingo opened this issue 2 years ago • 3 comments

Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in /usr/local/www/mediawiki/vendor/wikimedia/html-formatter/src/HtmlFormatter.php on line 94

Installed software

Product Version
MediaWiki 1.39.2
PHP 8.2.0 (fpm-fcgi)
MySQL 5.7.40-log
ICU 72.1
Pygments 2.11.2

Installed software Product Version MediaWiki 1.39.2 PHP 8.2.0 (fpm-fcgi) MySQL 5.7.40-log ICU 72.1 Pygments 2.11.2

I have this error displayed on all pages. How can I fix or hide?

krolingo avatar Feb 28 '23 16:02 krolingo

It is a MediaWiki upstream issue with PHP 8.2 being tracked in T324170. I'll implement a temporary fix until T330528 is resolved.

alistair3149 avatar Feb 28 '23 19:02 alistair3149

Would you mind to check if you have the same error on special pages? And also do you have MobileFrontend enabled? There are a few other extensions that can cause the same error as well.

alistair3149 avatar Feb 28 '23 21:02 alistair3149

I disabled comments on php.ini issue solved for now...

krolingo avatar Mar 02 '23 16:03 krolingo