Notice: Undefined index: locale in /home/lyceeagre/www/exploit/classes/Language.php on line 627

Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Unable to write to the "/home/lyceeagre/www/exploit/var/cache/dev/translations" directory. in /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:681 Stack trace: #0 /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(124): Symfony\Component\Filesystem\Filesystem->dumpFile('/home/lyceeagre...', '<?php\n\nuse Symf...') #1 /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(334): Symfony\Component\Config\ResourceCheckerConfigCache->write('<?php\n\nuse Symf...', Array) #2 /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(299): Symfony\Component\Translation\Translator->dumpCatalogue(NULL, Object(Symfony\Component\Config\ConfigCache)) #3 /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCacheFactory.php(46): Symfony\Co in /home/lyceeagre/www/exploit/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 681