We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After update today with composer:
Unknown Method – yii\base\UnknownMethodException Calling unknown method: yii\web\UrlManager::addRules() 1. in /var/www_test/vendor/yiisoft/yii2/base/Component.php at line 285 276277278279280281282283284285286287288289290291292293294 public function __call($name, $params) { $this->ensureBehaviors(); foreach ($this->_behaviors as $object) { if ($object->hasMethod($name)) { return call_user_func_array([$object, $name], $params); } } throw new UnknownMethodException('Calling unknown method: ' . get_class($this) . "::$name()"); } /** * This method is called after the object is created by cloning an existing one. * It removes all behaviors because they are attached to the old object. */ public function __clone() { $this->_events = []; 2. in /var/www_test/vendor/yiisoft/yii2-debug/Module.php – yii\base\Component::__call() at line 125 119120121122123124125126127128129130131 $app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']); }); $app->getUrlManager()->addRules([ $this->id => $this->id, $this->id . '/<controller:\w+>/<action:\w+>' => $this->id . '/<controller>/<action>', ], false); } /** * @inheritdoc */ public function beforeAction($action) 3. in /var/www_test/vendor/yiisoft/yii2-debug/Module.php – yii\web\UrlManager::addRules() at line 125 119120121122123124125126127128129130131 $app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']); }); $app->getUrlManager()->addRules([ $this->id => $this->id, $this->id . '/<controller:\w+>/<action:\w+>' => $this->id . '/<controller>/<action>', ], false); } /** * @inheritdoc */ public function beforeAction($action) 4. in /var/www_test/vendor/yiisoft/yii2/base/Application.php – yii\debug\Module::bootstrap() at line 294 5. in /var/www_test/vendor/yiisoft/yii2/web/Application.php – yii\base\Application::bootstrap() at line 62 6. in /var/www_test/vendor/yiisoft/yii2/base/Application.php – yii\web\Application::bootstrap() at line 251 7. in /var/www_test/vendor/yiisoft/yii2/base/Object.php – yii\base\Application::init() at line 106 8. in /var/www_test/vendor/yiisoft/yii2/base/Application.php – yii\base\Object::__construct() at line 190 9. in /var/www_test/backend/web/index.php – yii\base\Application::__construct() at line 31 2526272829303132 require(__DIR__ . '/../../common/config/main.php'), require(__DIR__ . '/../../common/config/main-local.php'), require(__DIR__ . '/../config/main.php'), require(__DIR__ . '/../config/main-local.php') ); $application = new yii\web\Application($config); $application->run(); $_SERVER = array ( 'USER' => 'www-data', 'HOME' => '/var/www', 'FCGI_ROLE' => 'RESPONDER', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'CONTENT_TYPE' => '', 'CONTENT_LENGTH' => '', 'SCRIPT_FILENAME' => '/var/www_test/backend/web/index.php', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/', 'DOCUMENT_URI' => '/index.php', 'DOCUMENT_ROOT' => '/var/www_test/backend/web', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_SOFTWARE' => 'nginx/1.4.6', 'REMOTE_ADDR' => '10.0.2.2', 'REMOTE_PORT' => '61934', 'SERVER_ADDR' => '10.0.2.15', 'SERVER_PORT' => '80', 'SERVER_NAME' => '_', 'REDIRECT_STATUS' => '200', 'HTTP_HOST' => 'localhost:8888', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'lt,en-us;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'ki_t=1408309511138%3B1408309511138%3B1408309511138%3B1%3B1; ki_r=; lhc_rm_u=4z4ncpibzthxkui6ue8qj4pqdw20w%3A1%3Af17285494694534095c2952c838ffad1eed79546; _csrf=b8c614ec5de6a496d378b1a0aaa5dab3a0d4f17599e522a1dcd56438b2c1d5e6s%3A32%3A%22FaWB2iLZb5kMzGFLY4lIULHKRvPfRrF1%22%3B', 'HTTP_CONNECTION' => 'keep-alive', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1411978708.1779251, 'REQUEST_TIME' => 1411978708, ); $_COOKIE = array ( 'ki_t' => '1408309511138;1408309511138;1408309511138;1;1', 'ki_r' => '', 'lhc_rm_u' => '4z4ncpibzthxkui6ue8qj4pqdw20w:1:f17285494694534095c2952c838ffad1eed79546', '_csrf' => 'b8c614ec5de6a496d378b1a0aaa5dab3a0d4f17599e522a1dcd56438b2c1d5e6s:32:"FaWB2iLZb5kMzGFLY4lIULHKRvPfRrF1";', );
The text was updated successfully, but these errors were encountered:
Duplicates #5060
Sorry, something went wrong.
No branches or pull requests
After update today with composer:
The text was updated successfully, but these errors were encountered: