I'm a beginner. I did everything exactly according to the guide, and for a long time I can not otdebezhit error. http://www.yiiframework.com/doc-2.0/guide-start-gii.html Here is the guide itself.
Honestly, I don’t even know what information I need to drop here so that you can understand exactly how to correct errors. Since I have not quite figured out the framework yet.
In theory, the entire code should have been generated by gii, so the very appearance of the error really surprised me. The syntax of the language is still poorly known, so I did not understand where to declare this variable. 