Hi guys,
I just have installed yii2 with composer:
composer create-project --prefer-dist yiisoft/yii2-app-advanced virma
Then, I run init --> 0
. Then, I used following code:
'dsn' => 'mysql:host=localhost;dbname=yii2_virma',
Then I registered new user by signup with yii2 and changed status in database from 9 to 10. If I try to login
I will get following error:
As it seems, $id is an array, which will 'cause this error. Is this a bug in code of framework or did I any mistakes installing yii2??