I'm using PHPStorm version 2019.2 (192.5728.108) on OS X 10.14.6 and the following error keeps coming up randomly as I'm doing things as simple as writing code or highlighting source text. Here is an example of the latest:
Refactoring cannot be performed
Only found a handful of similar results online from years pass, none that had a solution posted, but one asking why someone was trying to refactor a stub file. I don't know what a stub file is, and I am not actively trying to refactor anything; I am merely writing code or changing an active highlighting selection, and this error comes up randomly.