Answer the question
In order to leave comments, you need to log in
Why does an error occur when generating a class from a table in YII2?
error in class generation in GII from table
Unable to find 'frontend\models\User' in file: W:\domains\Portfolio.local/frontend/models/User.php. Namespace missing?
in the model User
namespace frontend\models\User;
in the controller
use frontend\models\User;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question