Skip to content
New issue

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

Controller::init(): Modification of Yaf_Controller internal property 'request' is not allowed #558

Open
GrootYM opened this issue Sep 19, 2021 · 4 comments

Comments

@GrootYM
Copy link

GrootYM commented Sep 19, 2021

环境:php7.2, yaf 3.3.3
运行报错: Controller::init(): Modification of Yaf_Controller internal property 'request' is not allowed

@laruence
Copy link
Owner

出现问题的代码是什么样子的?

@GrootYM
Copy link
Author

GrootYM commented Oct 1, 2021

出现问题的代码是什么样子的?

我在使用了7.2的版本之后, 问题已经解决了。

@jbRotk
Copy link

jbRotk commented Oct 15, 2021

环境:php7.2, yaf 3.3.3 运行报错: Controller::init(): Modification of Yaf_Controller internal property 'request' is not allowed

请问如何解决的

@zy2701
Copy link

zy2701 commented Feb 11, 2022

环境:php7.2, yaf 3.3.3 运行报错: Controller::init(): Modification of Yaf_Controller internal property 'request' is not allowed

请问如何解决的

你是否给$this->request赋值了?新版本yaf的request已经被占用,不允许再使用,因为我也发现了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants