Closed davist11 closed 2 years ago
Looks like Yii2 issue to me.
Well first of all, that way is not the best way to open a session it makes a lot of assumptions about internal implementation of the Session component..
Try using Yii::$app
.
Second, the error means the yii application did not send data or the module was not able to capture it. So I'd look at how your code generates its output.
I'm closing this due to its age. If it is still relevant in current versions feel free to create a new issue.
What are you trying to achieve?
I'm trying to set a session variable inside of a functional test (which is required by the template)
What do you get instead?
Details