Yii2 Crud Generator Shows Error.

The following errors are:

Class ‘Products’ does not exist or has syntax error.

The class name must contain fully qualified namespace name.

The class name must contain fully qualified namespace name.

Is anyone come across these error?

Is there any issue in framework itself?

Should be something like app\models\Product (you should use singular names for models btw)

Do like,

Model Class

    app\models\[color=#1C2837][size=2]Product[/size][/color]

[color=#1C2837][size=2]

[/size][/color]

Controller Class

    app\controllers\[color=#1C2837][size=2]Product[/size][/color]Controller