Freemius Fixer
Freemius WordPress "fixer" plugin.
★ 28stars
11forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/freemius/freemius-fixer/archive/refs/heads/master.zipFrom the readme
Why?
The Freemius WordPress SDK has quite a complex data and caching layer.
Some edge cases may lead to a corruption of the data integrity, especially when the SDK is running on a site that has a clone.
While we are doing our best to resolve all those cases, it's not feasible to test the SDK in all possible WordPress environments.
What?
This plugin was specially made for edge case like that. It does two simple things:
1. The ability to dump the Freemius data into a file so we can later troubleshoot and investigate the edge-case.
2. Cleanup of the Freemius data to start fresh.
When?
When a user of your plugin/theme encounters into an edge-case with the SDK, most likely, they will receive some fatal PHP error
that:
1. Either prevents them from activating the product.
2. Or, breaking their site's rendering.
When it's #2, the immediate thing that needs to be done is renaming the plugin/theme folder name to force the deactivation of the plugin/theme and recovering the site rendering.
The easiest way to do it is via FTP. If the user is tech-savvy, they can do it themselves. If they don't, ask for their FTP credentials and simply add as a suffix to the plugin/theme folder name.
For