Error 500 on sign in page when Ciphering algorithm is set to Use the PHP Encryption library with the openssl extension (highest security) on TB1.0.8
'Use the custom BlowFish class' works fine.
Interestingly the PHP encryption option works fine on a new site with the same setting.
Reckon this is a bug? Thanks.
```
[ThirtyBeesException]
String expected for argument 1. Boolean given instead.
at line 98 in file vendor/defuse/php-encryption/src/Crypto.php
@return string
*/
public static function decrypt($ciphertext, $key, $raw_binary = false)
{
if (!\is_string($ciphertext)) {
throw new \TypeError(
'String expected for argument 1. ' . \ucfirst(\gettype($ciphertext)) . ' given instead.'
Question
Chandra
Error 500 on sign in page when Ciphering algorithm is set to Use the PHP Encryption library with the openssl extension (highest security) on TB1.0.8 'Use the custom BlowFish class' works fine. Interestingly the PHP encryption option works fine on a new site with the same setting.
Reckon this is a bug? Thanks.
``` [ThirtyBeesException]
String expected for argument 1. Boolean given instead. at line 98 in file vendor/defuse/php-encryption/src/Crypto.php
Defuse\Crypto\Crypto::decrypt - [line 76 - classes/PhpEncryption.php] - [2 Arguments] PhpEncryptionCore->decrypt - [line 601 - modules/referralprogram/referralprogram.php] - [1 Arguments] ReferralProgram->hookCreateAccountForm - [line 776 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 486 - classes/Hook.php] - [3 Arguments] HookCore::execWithoutCache - [line 288 - classes/Hook.php] - [7 Arguments] HookCore::exec - [line 173 - controllers/front/AuthController.php] - [1 Arguments] AuthControllerCore->initContent - [line 262 - classes/controller/Controller.php] ControllerCore->run - [line 253 - classes/controller/FrontController.php] FrontControllerCore->run - [line 837 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 33 - index.php]
```
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now