This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

JanBo
JanBo

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

vitovt31394
vitovt31394

I have same problem. ENV: Apache Ubuntu 18.04 PHP 7.2 Fresh version of October CMS

After login i got same error, but I can change by hand URL to /backend and after that i see dashboard

ostap34php31393
ostap34php31393

@vitovt31394 me too

ostap34php31393

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.