Closed SerjRamone closed 9 years ago
Bug in \yii\rbac\DbManager
https://github.com/yiisoft/yii2/blob/d188dd10c0f9283e8e0d858cc30b2b10f52df87e/framework/rbac/DbManager.php#L888
PHP Warning – yii\base\ErrorException unserialize() expects parameter 1 to be string, array given
auth config is
//*** 'cache' => [ 'class' => 'yii\redis\Cache', ], //*** 'authManager' => [ 'class' => 'yii\rbac\DbManager', 'cache' => 'cache', 'defaultRoles' => [ 'admin', 'author', ], ],
@qiangxue https://github.com/yiisoft/yii2/commit/d188dd10c0f9283e8e0d858cc30b2b10f52df87e
Thanks for reporting!
Bug in \yii\rbac\DbManager
https://github.com/yiisoft/yii2/blob/d188dd10c0f9283e8e0d858cc30b2b10f52df87e/framework/rbac/DbManager.php#L888
auth config is