Closed siliconalchemy closed 1 year ago
This is PHP deprecation. You will have to migrate away from using html-entities
with mbstring.
But shouldn't this be fixed in StringWrapper/MbString.php? This contains mb_convert_encoding() which is deprecated?
mb_convert_encoding()
is not deprecated. Using it for html-entities
is.
Oh duh. Right, sorry :)
Bug Report
Summary
StringWrapper\Mbstring breaks in php 8.2
Current behavior
Exception #0 (Exception): Deprecated Functionality: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in ...vendor/laminas/laminas-stdlib/src/StringWrapper/MbString.php on line 125
How to reproduce
Expected behavior
No error!