You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsure, for me it is just $this->redirect() in a \yii\web\Controller instance. Since 2.0.36. If this is not a known issue (since it was just introduced) let me know I will dig some to see if there is a unique use-case going on here but I don't think so.
What is the expected result?
302 redirect
What do you get instead?
Call to a member function redirect() on string
Line 242 of vendor/yiisoft/yii2/web/Controller.php:
return $this->response->redirect(Url::to($url), $statusCode)
Additional info
I can see this object was introduced in 2.0.36. See #18083
Q
A
Yii version
2.0.36
PHP version
7.3.19
Operating system
Ubuntu 20.04
The text was updated successfully, but these errors were encountered:
If you have any controllers that override the init() method, make sure they are calling parent::init() at the beginning, as demonstrated in the component guide.
What steps will reproduce the problem?
Unsure, for me it is just
$this->redirect()
in a \yii\web\Controller instance. Since 2.0.36. If this is not a known issue (since it was just introduced) let me know I will dig some to see if there is a unique use-case going on here but I don't think so.What is the expected result?
302 redirect
What do you get instead?
Call to a member function redirect() on string
Line 242 of vendor/yiisoft/yii2/web/Controller.php:
return $this->response->redirect(Url::to($url), $statusCode)
Additional info
I can see this object was introduced in 2.0.36. See #18083
The text was updated successfully, but these errors were encountered: