Ir al contenido principal
Todas las coleccionesPrestaShopPrestaShop
Error Use of undefined constant MCRYPT_RIJNDAEL_128
Error Use of undefined constant MCRYPT_RIJNDAEL_128
Javier Galeote avatar
Escrito por Javier Galeote
Actualizado hace más de 5 meses

Si vemos en PrestaShop 1.6 el siguiente error:

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP)

Hay que correr el comando Mysql:

UPDATE `ps_configuration` SET `value` = '0' WHERE `name` = 'PS_CIPHER_ALGORITHM';

O bien quitar la opción "Algoritmo: Utilizar Rijndael con la librería mcrypt" en:

Parámetros avanzados - Rendimiento - Cifrado

Finalmente cambiaremos la versión de PHP del hosting de 5.6 a 7.0 y el error no debería aparecer.

¿Ha quedado contestada tu pregunta?