Ir al contenido principal
Todas las coleccionesPrestaShopPrestaShop
Table translation does not exist en Prestashop
Table translation does not exist en Prestashop
Javier Galeote avatar
Escrito por Javier Galeote
Actualizado hace más de 5 meses

Si migramos de 1.6 a 1.7 usando el módulo 1-click upgrade y vemos el siguiente error al final del proceso:

[INTERNAL] /src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php line 101 - Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to PrestaShopBundle\Translation\Loader\SqlTranslationLoader::addTranslationsToCatalogue() must be of the type array, boolean given

Es porque la tabla ps_translation no existe.

Tendrás que crearla a través de PhpMyAdmin:

CREATE TABLE `ps_translation` (
  `id_translation` int(11) NOT NULL,
  `id_lang` int(11) NOT NULL,
  `key` text COLLATE utf8_unicode_ci NOT NULL,
  `translation` text COLLATE utf8_unicode_ci NOT NULL,
  `domain` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
  `theme` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=COMPRESSED;

Si al crearla te sigue dando error, deberás restaurar la versión de 1.6 anterior y correr este comando MySQL en PhpMyAdmin ANTES de intentar de nuevo actualizar a 1.7

¿Ha quedado contestada tu pregunta?