I have a Symfony-demo repository on git which I am experimenting with. It was all running fine on localhost
until I tried pushing this to github (see my earlier question here if relevant).
I understand that Symfony bundles are in .gitignore
and not included in the remote repository, however I can't figure out why my local repository would no longer be working - I still see all the local directories such as /vendor/
for example so would have thought nothing locally would have changed.
However, it must have changed something as the symfony demo site no longer works on localhost
once I try logging in to the backend I get:
CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("The Symfony\Component\Intl\DateFormatter\IntlDateFormatter::__construct() method's argument $locale value NULL behavior is not implemented. Only the locale "en" is supported. Please install the "intl" extension for full localization capabilities.") in "admin/blog/index.html.twig" at line 22." at /ProjectsI/symfony_demo/app/cache/dev/classes.php line 4697
I have tried php app/console doctrine:fixtures:load
as well as restarting the apache server but no luck there either.
Update:
I added the below line as suggested however, I still get the below errors:
parameters:
# This parameter defines the codes of the locales (languages) enabled in the application
app_locales: en|fr|de|es|cs|ru|uk|ro|pt_BR
locale: en
DEBUG - SELECT t0.id AS id1, t0.title AS title2, t0.slug AS slug3, t0.summary AS summary4, t0.content AS content5, t0.authorEmail AS authorEmail6, t0.publishedAt AS publishedAt7 FROM Post t0
CRITICAL - Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("The Symfony\Component\Intl\DateFormatter\IntlDateFormatter::__construct() method's argument $locale value NULL behavior is not implemented. Only the locale "en" is supported. Please install the "intl" extension for full localization capabilities.") in "admin/blog/index.html.twig" at line 22." at /Projects/symfony_demo/app/cache/dev/classes.php line 4697