Yesterday we shipped 3.1.2 with an update to fix new WordPress update errors with MyStyle plugin’s initial activation.
WordPress “Sandbox Security” Checks Caused New Bugs
WordPress shipped an update recently that includes a new “Sandbox for Security” feature that essentially runs plugin code, which can include front-end code, in the admin in a new way of pre-checking for errors. But, in fact it causes some errors, too, since front-end run time code can sometimes rely on non-admin page variables, and won’t be able to find them in the admin. This probably effects a lot of plugins who will have to do the same sort of patches we’ve just done.
Fixes Are Live
In any case, we’ve patched up the issues with this new WordPress change and everything should work fine now. Strangely this only seemed to affect some systems and not others, but for whatever reason activating the plugin would cause an error in this pre-check that would gallivant thru the admin notifications like an actual Fatal Error would occur if enabled, when really there was no error once activated at all. In any case, we’ve adapted to the new checks and fixed this issue in our latest release of the MyStyle Custom Product Designer plugin for WordPress / WooCommerce.
Here’s the official release notes:
v3.1.2 of the main WP plugin
* Bug Fix: Fixed a bug with our design profile shortcode and WP 4.9’s new Sandbox for Safety feature.
* Updated the readme.txt to reflect that the plugin is compatible with up to WordPress 4.9.2.