Closed klunker closed 4 years ago
yii\base\Exception
already extends Exception
: https://github.com/yiisoft/yii2/blob/master/framework/base/Exception.php#L18
Hmmm.. Something went wrong with project synchronization. And this file was not on the development server.
I started the synchronization again, the file https://github.com/yiisoft/yii2/blob/master/framework/base/Exception.php#L18
downloaded again and the error went away. Thanks you!
The problem with
new yii\web\HttpException
. In PHPShtorm showing error:The problem place
OK, go step by step for extends classes and see the problem in
\vendor\yiisoft\yii2\base\UserException.php
What steps will fix the problem?
Change
Exception
on\Exception