Hello OC Community,
I get the error "openssl_encrypt() expects parameter 1 to be string, array given" in C:\laragon\www\myproject\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php line 91 just after trying to log in backend.
$cipher is set to AES-256-CBC, key set to base64:xyz=
I use PHP 7.1.14, nginx and October CMS install was done with CLI command composer create-project october/october myproject.
It installed build 437.
This issue also occurs on another Windows install, where I installed all components by hand (nginx, php, mariaDB, etc...).
I tried to generate by CLI a new key, config:clear + config:cache, but always same error. I would like to notice that after that error, if I go to http://myPrettyURL.test/backend, I can see the backend panel and use it. Of course, same error occurs if I try to change a backend user password in the backend.
How can I revert back to 436 for example ? Any Idea about this issue ? No issue when installation done with the installation tool.
I would like to take this opportunity to thank the co-founders for this great project ! Thanks a lot for your help guys !
EDIT : same error under Linux 18.04 LTS.
Last updated