VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ptrouw on April 13, 2017, 09:30:29 AM

Title: Warning: mcrypt_encrypt(): Key of size 3 not supported by this algorithm.
Post by: ptrouw on April 13, 2017, 09:30:29 AM
When in cart I am getting this warning, when I have reporting set on:
Warning: mcrypt_encrypt(): Key of size 3 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /home/domains/public_html/administrator/components/com_virtuemart/helpers/vmcrypt.php on line 34

Running VM3.2.1 and php7

There is some info on it, seems related to php7 and changes in the mcrypt_encrypt() function: http://stackoverflow.com/questions/27254432/mcrypt-decrypt-error-change-key-size