Closed eukos closed 10 years ago
Try to update your composer.json into following way:
"require": {
"yiisoft/yii2": "*"
},
It helps! Thank you!
same promlem, but "require": { "yiisoft/yii2": "*" }, does not help
Install via composer at now and have same problem
same problem and 1 more promblem: ReflectionException
Class yii\rbac\PhpManager does not exist
Same problem "minimum-stability": "dev", ... "yiisoft/yii2": "*",
http://stackoverflow.com/questions/25884038/yii2-error-yii-base-unknownmethodexception-calling-unknown-method-yii-web-url Post from ricardgf
And I had to configure my Github credentials because of API rate limit:
composer config http-basic.github.com username password
Those two together, fixed it for me
I create new project based on yii2 using composer.
composer.json content:
As in the app-basic I added the following lines to the config file:
And now, when I opens any page I got the following error:
Calling unknown method: yii\web\UrlManager::addRules() Stacktrace:
If I comment out lines in config related to debug module, then the same error appears but with the different stacktrace: