File (filename is empty) cannot be found shortly after saving. Only when using PHPStorm.

Hello,

this is happening while developing in WordPress and using Vagrant/VirtualBox for my development environment. It is only an issue in PHPStorm and not in any other code editor, for example if using Sublime Text.

Whenever I change a .php file the second time in a row it will throw a warning, Warning: include(): Filename cannot be empty, because it seems like the file isn't found for a few seconds. I need to click around for a while for the page to appear again and the error to go away.

Any help will be much appreciated since I really don't want to move away from PHPStorm for obvious reasons.

1
1 comment

Hi there,

Try disabling "safe write" option -- that's the first thing that comes into my mind.

(hint: Settings screen has a search box)

0

Please sign in to leave a comment.