Symfony2.1 Error SonataUserBundle ResourceBundle

I have a problem with symfony.

Now I am using SonataUserBundle and I have this error:

The local resource cannot be loaded for the locale "en" (uncaught exception) in [...] / seller / Symfony / Symfony / SRC / Symfony / Component / Locale / Locale.php line 16

I have intl installed.

I did some research online and found what I had to do

 php data-build.php 49 

Which gives me this error:

PHP Fatal error: Class 'ResourceBundle' not found in [...] Symfony / vendor / symfony / symfony / src / Symfony / Component / Locale / Resources / data / build-data.php on line 97

+4
source share
1 answer

Have you tried reinstalling or updating the composer? I know when I have problems with any third-party providers, I will delete my composer.lock file and update the composer to create a new one.

0
source

Source: https://habr.com/ru/post/1448019/


All Articles