Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why PhpStorm inspection says `Exception` is undefined?

PhpStorm doesn't recognize Exception from some reason. The code executes fine, but I cannot "go to" code (which should send me to Core_c.php):

enter image description here

like image 759
Tar Avatar asked Nov 17 '25 14:11

Tar


1 Answers

Windows OS has "try rebooting the OS" advice which helps in a lot of "does not work / suddenly stopped working" scenarios.

File | Invalidate Caches is the one for PhpStorm, especially after IDE/OS crash or after upgrading your IDE to a newer version.

P.S. I had to make up some text, otherwise it's too short for an answer.

like image 156
LazyOne Avatar answered Nov 19 '25 04:11

LazyOne



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!