Class "NumberFormatter" not found
I finally got to a Filament login page and can open up the Dashboard on my VPS. Yah!
However, when I click on any of the links I receive a Class "NumberFormatter" not found" error. I think this means the specific php extension is not found?
What have I tried? Some common solutions online:
sudo apt-get install php.intl
Added extension=php_intl.dll to all php.ini files
composer require ext-intl
manually added "require": { "ext-intl":" to the composer.json file
Seem to be at a loss. In each instance the server was rebooted. Is there something I'm missing that can be checked/changed within Filament to resolve this and/or is there anything else anyone here can suggest? Locally this looks beautiful. This is for version 3 when I click on any table after logging in successfully.
Update: resolved by hosting company.
3 Replies
Its look like extension issue, depending of your VPS O.S there are many ways to add extension.
In Ubuntu 20.04, I use the following command:
sudo apt-get install php8.3-intl
replace 8.3 with your PHP version
and restart you server
If its already installed...make sure it is not commented in php.ini. Uncomment it and restart.
Solution
The hosting company resolved it magically.