Crashes WordPress, Maximum Memory Exceeded in Options.php
-
Unfortunately this plugin is using the Options table excessively. It fills it with junk, and this ultimately crashes the site with PHP Memory Limit errors. Removing the plugin does not solve this issue as its dirty and doesn’t clean up after itself.
Can’t provide any warranty, and make sure to back up. But the following script cleaned the Options table for us of over 400mb and hundreds of thousands of records.
DELETE wp_options FROM wp_options INNER JOIN (SELECT option_id FROM wp_options WHERE option_value = “a:0:{}” OR option_value IS NULL OR option_value = “” OR option_name like ‘%_updated_at’) AS opt2 ON opt2.option_id = wp_options.option_id
I’ve written the plugin maker (as requested in the Read Me). This has destroyed the performance of the site. I suspect cleaning up will be temporary and the problem to re-occur.
The plugin maybe generating 3 options records for every page that exists on the site as a cache or something. We haven’t debugged issue fully and will be working to remove the addon.
- The topic ‘Crashes WordPress, Maximum Memory Exceeded in Options.php’ is closed to new replies.