Transfer site from server to dedicated server.
I am getting Fatal error: Class 'IntlDateFormatter' not found in /home/uscvuy32bk5d/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 116
2 Answers 2
Just need to clear comment before this line in php.ini file:
;extension=php_intl.dll
to
extension=php_intl.dll
-
In php.ini root folder, i added extension=php_intl.dll. Same error.gill– gill2020年12月05日 04:41:36 +00:00Commented Dec 5, 2020 at 4:41
-
have you restarted php server & checked ?Hamendra Sunthwal– Hamendra Sunthwal2020年12月05日 04:42:09 +00:00Commented Dec 5, 2020 at 4:42
-
Let me know if that works.Hamendra Sunthwal– Hamendra Sunthwal2020年12月05日 04:47:26 +00:00Commented Dec 5, 2020 at 4:47
-
I restarted the server but Not workinggill– gill2020年12月05日 04:48:47 +00:00Commented Dec 5, 2020 at 4:48
-
Are Both the entries for the base-urls (secure und unsecure) under stores > configuration > general > web are secure (https://) domain ?Hamendra Sunthwal– Hamendra Sunthwal2020年12月05日 04:49:28 +00:00Commented Dec 5, 2020 at 4:49
I did a switch form PHP 7.3 -> 7.4 and I got the same error. In my case I was missing the intl library, so by executing this command:
sudo apt-get install php7.4-intl
Fixed my problem .