WP Rocket only shows up in Plugin Archive when it is activated.
Plugin Archiver also seems to prevent iThemes Sync from working. The websites I was using it with showed up in red with the error message
Sync encountered an error attempting to contact your site:
Unhandled_request - This request was not handled by any registered verb. This was likely caused by a fatal error.
The error in the PHP error log was
PHP Fatal error: Class 'HackRepair_Plugin_Archiver_Bulk_Action' not found in … /plugins/hackrepair-plugin-archiver/hackrepair-plugin-archiver.php on line 26
Is it possible that is_admin() in line 461 doesn’t hold true when the site is being managed remotely (i.e. through iThemes Sync), and so bulk.php isn’t being loaded? I have no clue.
That is surprising.
We’ll run some tests and work to push out a fix soon.
Good news is that the good people at iThemes Sync have recommended a fix for this incompatibility.
We’ll have a new version out to correct that soon.
As for WP Rocket. We do not have a version of that plugin to test with. I’ll ask the peeps at WP Rocket if they can loan us a demo or help provide code suggestions as well.
Well done! Yes, it’s working quite nicely now.
I’m sure the WP Rocket guys will come through — they’re awfully nice people.
Expect a very good review when you get this sorted out — this functionality should be core! I’ve often thought someone should do a plugin like this, but it’s trickier than it seems, I think. Well done.
Alex
I’m in full agreement. This should have been core years back IMHO.
WP Rocket only shows up as being archived while it’s activated. As a workaround, is there a way to have your plugin exclude from its archive list anything that is activated or that isn’t actually in the archive directory?
Verify this has been resolved in version 1.0.9 pretty-please?
It is entirely resolved. I’ve now got this thing working on four sites – it’s a must-have. Get ready for a very positive review.
I’ve got a great idea for your next version: make this work with WP-CLI! Imagine: you’re a hack repair guy, and you can’t even log into a site because of some wayward plugin. Just go to the command line and type
wp pluginarchive naughtyplugin
and you’re in!
Alex