NumberFormatter function not found

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
IvanIgniter
Posts: 58
Joined: 01 Dec 2021, 07:41

NumberFormatter function not found

Post by IvanIgniter » 11 May 2022, 08:48

I am using laravel 6.x, PHP 7.4, Docker desktop/Ubuntu and the Aimeos 2021 (aimeos-laravel: 2021.10.4 / aimeos-core: 2021.10.13)

I always have this error in error logs every minute. I can't trace in our code that is calling it. Any idea why this part is always causing error?

staging.ERROR: Class 'NumberFormatter' not found {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Class 'NumberFormatter' not found at /var/www/backend/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/View/Helper/Number/Locale.php:42)

NumberFormatter error-6.jpg
NumberFormatter error-6.jpg (236.69 KiB) Viewed 596 times

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: NumberFormatter function not found

Post by aimeos » 12 May 2022, 11:17

NumberFormatter is a class from the PHP Intl extension which seems to be missing at your server.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply