Hi! I have the same problem upgrading from 1.6.1.17 to 1.7.6.2
[22-Jan-2020 06:38:09 Europe/Bratislava] PHP Warning:
file_put_contents(/home/html/ital-accessori.sk/public_html/_sub/presta/var/cache/prod/cacert.pem):
failed to open stream: No such file or directory in /home/html/ital-accessori.sk/public_html/_sub/presta/classes/Tools.php on line 2118
[22-Jan-2020 10:43:10 Europe/Paris] PHP Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\ContextErrorException'
with message 'Catchable Fatal Error: Argument 1 passed to PrestaShopBundle\Translation\Loader\SqlTranslationLoader::addTranslationsToCatalogue()
must be of the type array, boolean given, called in /home/html/ital-accessori.sk/public_html/_sub/presta/src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php on line 84
and defined' in /home/html/ital-accessori.sk/public_html/_sub/presta/src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php:101
Stack trace:
#0 /home/html/ital-accessori.sk/public_html/_sub/presta/src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php(84):
PrestaShopBundle\Translation\Loader\SqlTranslationLoader->addTranslationsToCatalogue(false, Object(Symfony\Component\Translation\MessageCatalogue))
#1 /home/html/ital-accessori.sk/public_html/_sub/presta/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(381):
PrestaShopBundle\Translation\Loader\SqlTranslationLoader->load in /home/html/ital-accessori.sk/public_html/_sub/presta/src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php on line 101
SqlTranslationLoader.php 84-101:
84: $this->addTranslationsToCatalogue($translations, $catalogue);
if (null !== $this->theme) {
$selectThemeTranslationsQuery =
$selectTranslationsQuery . "\n" .
"AND theme = '" . $this->theme->getName() . "'";
$themeTranslations = Db::getInstance()->executeS($selectThemeTranslationsQuery);
$this->addTranslationsToCatalogue($themeTranslations, $catalogue);
}
return $catalogue;
}
/**
* @param array $translations the list of translations
* @param MessageCatalogueInterface $catalogue the Message Catalogue
*/
101: protected function addTranslationsToCatalogue(array $translations, MessageCatalogueInterface $catalogue)
Please help!!!