cancel
Showing results for 
Search instead for 
Did you mean: 

getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

when i deploy my magento store from localhost to server then i am getting Fatal error: Class 'IntlDateFormatter' not found in vendor\magento\framework\ObjectManager\Factory\AbstractFactory.php on line 93.

After uploading it on server i not seeing my magento home page... when i hit the url only this error display. please help me to find out solution. Thanks

3 REPLIES 3

Re: getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

Hi @manu_123,

 

Maybe your server hasn't the PHP Intl extension configured?

IntlDateFormatter is a function from that extension.

Re: getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

I had the same Problem with a new Magento 2.1.7 installation, php 7.0.2, mysql 5.6. in developer mode and the cronjob always send me an email with: Class 'IntlDateFormatter' not found in /vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93

 

My solution was:

Both entries for the base-urls (secure und unsecure) under "stores > configuration > general > web" had to be the secure (https://) domain.

 

Now everything works fine.

Re: getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

This error happens because of the php_intl.dll file,

You need to enabled/install the php_intl.dll in php.ini

;extension=php_intl.dll

to

extension=php_intl.dll

If  php_intl.dll does not exist then install this library and enable.

 

Ref: https://magento.stackexchange.com/questions/86661/i-am-getting-fatal-error-class-intldateformatter-n...

 

Thank you