Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 5.4.0-b1
-
Fix Version/s: 5.4.0-b2
-
Component/s: Staff Interface
-
Labels:None
Description
This is an issue on PHP 8.0 but may be an issue on PHP 7 also. If the PHP extension "iconv" is installed, it's not a problem because it is used instead. However, if it's not installed it uses the symfony/polyfill-iconv library instead.
When using the library instead, the logs_blesta cron log is flooded with these notices:
general-notice-cron-2022-04-12.log:[2022-04-12T20:05:05.679283+00:00] general.NOTICE: E_USER_NOTICE: iconv(): Wrong charset, conversion from `utf-8' to `ucs-4be' is not allowed
{"code":1024,"message":"iconv(): Wrong charset, conversion from `utf-8' to `ucs-4be' is not allowed","file":"/home/blestar/public_html/vendors/symfony/polyfill-iconv/Iconv.php","line":188}What is this being used for and why are we trying to convert charset to ucs-4be? Do we need to update to a newer version of this vendor code?