Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Cannot rename "/tmp/catalogue.ca-ES.NXhscRe.php0sigauua3dbi8boE1x5" to "/var/www/html/var/cache/dev/translations/catalogue.ca-ES.NXhscRe.php": rename(/tmp/catalogue.ca-ES.NXhscRe.php0sigauua3dbi8boE1x5,/var/www/html/var/cache/dev/translations/catalogue.ca-ES.NXhscRe.php): Permission denied in /var/www/html/vendor/symfony/filesystem/Filesystem.php:320
Stack trace:
#0 /var/www/html/vendor/symfony/filesystem/Filesystem.php(699): Symfony\Component\Filesystem\Filesystem->rename('/tmp/catalogue....', '/var/www/html/v...', true)
#1 /var/www/html/vendor/symfony/config/ResourceCheckerConfigCache.php(117): Symfony\Component\Filesystem\Filesystem->dumpFile('/var/www/html/v...', '<?php\n\nuse Symf...')
#2 /var/www/html/vendor/symfony/translation/Translator.php(310): Symfony\Component\Config\ResourceCheckerConfigCache->write('<?php\n\nuse Symf...', Array)
#3 /var/www/html/vendor/symfony/translation/Translator.php(275): Symfony\Component\Translation\Translator->dumpCatalogue('ca-ES', Object(Symfony\Component\Config\ConfigCache))
#4 /var/www/html/vendor/symfony/config/ConfigCacheFactory.php(39): Symfony\Component\Translation\Translator->{closure:Symfony\Component\Translation\Translator::initializeCacheCatalogue():274}(Object(Symfony\Component\Config\ConfigCache))
#5 /var/www/html/vendor/symfony/translation/Translator.php(273): Symfony\Component\Config\ConfigCacheFactory->cache('/var/www/html/v...', Object(Closure))
#6 /var/www/html/vendor/symfony/translation/Translator.php(244): Symfony\Component\Translation\Translator->initializeCacheCatalogue('ca-ES')
#7 /var/www/html/vendor/symfony/translation/Translator.php(215): Symfony\Component\Translation\Translator->loadCatalogue('ca-ES')
#8 /var/www/html/classes/Context.php(421): Symfony\Component\Translation\Translator->getCatalogue('ca-ES')
#9 /var/www/html/classes/Context.php(396): ContextCore->getTranslatorFromLocale('ca-ES')
#10 /var/www/html/classes/Translate.php(194): ContextCore->getTranslator()
#11 /var/www/html/classes/module/Module.php(1918): TranslateCore::getModuleTranslation(Object(Leoelements), 'Leo Elements - ...', 'leoelements', NULL, false, NULL)
#12 /var/www/html/modules/leoelements/leoelements.php(128): ModuleCore->l('Leo Elements - ...')
#13 [internal function]: Leoelements->__construct()
#14 /var/www/html/src/Core/Foundation/IoC/Container.php(124): ReflectionClass->newInstance()
#15 /var/www/html/src/Core/Foundation/IoC/Container.php(154): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->makeInstanceFromClassName('leoelements', Array)
#16 /var/www/html/src/Core/Foundation/IoC/Container.php(167): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->doMake('leoelements', Array)
#17 /var/www/html/src/Adapter/ServiceLocator.php(70): PrestaShop\PrestaShop\Core\Foundation\IoC\Container->make('leoelements')
#18 /var/www/html/classes/module/Module.php(1386): PrestaShop\PrestaShop\Adapter\ServiceLocator::get('leoelements')
#19 /var/www/html/classes/module/Module.php(1365): ModuleCore::coreLoadModule('leoelements')
#20 /var/www/html/classes/Hook.php(1108): ModuleCore::getInstanceByName('leoelements')
#21 /var/www/html/override/classes/Dispatcher.php(28): HookCore::exec('moduleRoutes', Array, NULL, true, false)
#22 /var/www/html/classes/Dispatcher.php(253): Dispatcher->loadRoutes()
#23 /var/www/html/classes/Dispatcher.php(215): DispatcherCore->__construct()
#24 /var/www/html/index.php(86): DispatcherCore::getInstance()
#25 {main}
thrown in /var/www/html/vendor/symfony/filesystem/Filesystem.php on line 320