September 26, 20233 yr I'm getting a lot of this warnings on collect logs (example collect_20230923.log) [22:37:50.5050] [OLD] [55e51c73843cffa9ca9dbacb4e3b2ad5] [WARNING] PHP Encryption can't be used because _PHP_ENCRYPTION_KEY_ constant is not defined. Using Blowfish encryption instead. in file classes/Encryptor.php at line 167. [22:37:50.5050] [OLD] [1512861597d39c707e1026a3cd042176] [WARNING] Blowfish encryption is deprected and will be removed in next version of thirty bees. Please use PHP Encryption instead in file classes/CryptBlowfish.php at line 487. how can I solve this? is this a bug? Edited September 26, 20233 yr by Beeta
September 27, 20233 yr Author 13 minutes ago, toplakd said: My ciphering configuration is already set to php encryption
September 27, 20233 yr Solution 40 minutes ago, Beeta said: My ciphering configuration is already set to php encryption Yes, that is the problem. You have (for some reason) set your store to use PHP Encryption, but no encryption key is generated. No idea how this happened. Because no encryption key exists, thirty bees will raise the first warning: "PHP Encryption can't be used because _PHP_ENCRYPTION_KEY_ constant is not defined." And fallback to Blowfish encryption. Blowfish encryption is deprecated, and raises the second warning. The fix is very simple. Go to Performance tab switch encryption to Blowfish. Save switch encryption to PHP Encryption Save That's it. When you change encryption from Blowfish to PHP Encryption, system will generate new encryption key if none exists.
September 27, 20233 yr 1 hour ago, datakick said: Yes, that is the problem. You have (for some reason) set your store to use PHP Encryption, but no encryption key is generated. No idea how this happened. Because no encryption key exists, thirty bees will raise the first warning: "PHP Encryption can't be used because _PHP_ENCRYPTION_KEY_ constant is not defined." And fallback to Blowfish encryption. Blowfish encryption is deprecated, and raises the second warning. The fix is very simple. Go to Performance tab switch encryption to Blowfish. Save switch encryption to PHP Encryption Save That's it. When you change encryption from Blowfish to PHP Encryption, system will generate new encryption key if none exists. I had exactly the same problem. The solution worked perfectly for me and since then I have no more issues.
Create an account or sign in to comment