yii\base\ErrorException – Class ‘app\controllers\EntryForm’ not found

If you start learning Yii framework then you can catch popular error: Class ‘app\controllers\EntryForm’ not found
Solution (9 line in SiteController.php) ↓

namespace app\controllers;

use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\filters\VerbFilter;
use app\models\LoginForm;
use app\models\ContactForm;
use app\models\EntryForm; 

Just add: “use app\models\EntryForm;”