Yii2报错:Unknown Property – yii\base\UnknownPropertyException Setting unknown property: app\models
Error in yii2 storage
solution
Step 1: Check whether there is a corresponding field in the table corresponding to the mysql database.
If you find that there is no corresponding field , you need to add the
second step: Check the database table corresponding to the model layer, whether there is this field, and whether it is consistent with the database table. Solve this problem