I started developing a wordpress plugin for my site and was using the wordpress plugin editor. Whenever I make a PHP error I get a message to say my plugin was 'rolled back'.
I then attempt to fix the changes, but when I click apply I get a message saying 'invalid plugin'.
I attempt to open the plugin again from the menu, when I do, the editor opens with an empty document. Leaving the editor, and returning, the plugin will disappear.
The plugin will no longer appear on the plugin list. On first attempt at re-upload, it will fail saying the file already exists, on second attempt I can install the plugin.
As you can imagine, having the plugin uninstall itself every time I make an error is inconvenient to say the least. Any way to fix this?