Why PhpStorm inspection says `Exception` is undefined?

China☆狼群 提交于 2021-02-08 08:33:28

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/13417624/why-phpstorm-inspection-says-exception-is-undefined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!