Search code examples
laravelphpstorm

How to fix require missing parameter error in PhpStorm


I started a project in PhpStorm. It's a Laravel project and I already installed the Laravel plugin and ide-helper, but still getting this weird errors:

Required Parameter is missing

And the others are expecting statement errors. Anyone know how to fix them?

enter image description here

enter image description here


Solution

  • File | Invalidate Caches... and restart IDE -- should help with such kind of errors (usually does).


    If the above does not help -- disable all 3rd party (not bundled by default) plugins and see if made any difference. If did -- enable one by one until you find the problematic one.