Closed aBahrami13 closed 6 years ago
same me. first go to \htdocs\youproject\vendor\mdmsoft\yii2-admin and make file follow this link https://github.com/mdmsoft/yii2-admin/commit/e9cc1d8adc0e34f3a053d172116c6903c2e3c1fb
Thanks @shonlong , It works.
i have same problem, and you save me @shonlong
thanks.
What steps will reproduce the problem?
install php 7.2.2 composer create-project --prefer-dist yiisoft/yii2-app-advanced yii2-app php init (choose development mode = 0) composer require mdmsoft/yii2-admin "~2.0" define admin module in common/config/main.php: 'class' => 'mdm\admin\Module' define authManager component in common/config/main.php: 'class' => 'yii\rbac\DbManager' create a database in MySql and configure it in common/config/main-local.php yii migrate --migrationPath=/migrations in CMD
What is the expected result?
creating a proper user table for the user management
What do you get instead?
PHP Fatal error: Cannot use 'Object' as class name as it is reserved in vendor\yiisoft\yii2\base\Object.php on line 28
Additional info
Yii version: 2.0.14.1 PHP version: 7.2.2 (using XAMPP) Operating system: Windows 10 (x64)