We have a very annoying problem with our Unyson plugin. For some users, all extensions are uninstalled automatically on random intervals (#1, #2) and we have no idea why this happens. The only clue is that it can be caused by the WordPress automatic update. We released a fix to stop automatic updates for Unyson plugin but the problem persists #3.
Why we think it's caused by the WP auto updates:
- Our extensions are located within plugin directory in
wp-content/plugins/unyson/framework/extensions
- Before plugin update, we move all extensions outside the plugin to a temporary directory
- After plugin update finished, we move them back in plugin directory (so the user doesn't have to install them again)
- We use these 2 actions for before/after plugin update
I am thinking that on backgroup/auto update, the first action is fired, but the second one not (so the extensions are not moved back in plugin directory, so they are uninstalled).
We need a way to start manually WP backgroud/auto update and to debug the code execution (add print_r()
or make requests to http://requestb.in/ with debug info).