NextGen Gallery has exploded SQL wp-options table
-
One of my clients sites just collapsed with a fatal error.
Fatal error: Out of memory (allocated 67633152) (tried to allocate 8193 bytes) in /homepages/37/xxxxxxxxxxx/htdocs/wp-treelocate/wp-includes/functions.php on line 3568
Refreshing the error page reveals that the file name and line number at the end of the error will change … however /wp_includes/plugins.php turns up regularly an errant file, so does this adminimize plugin line 444 error
Fatal error: Out of memory (allocated 67633152) (tried to allocate 6144 bytes) in /homepages/37/xxxxxxxxxxx/htdocs/wp-treelocate/wp-content/plugins/adminimize/adminimize.php on line 444
On a hunch I looked in the database and found the wp-options table had exploded. Instead of being about 50k it was over 232MB – 99% of that being transient data for nggallery gallery views.
I’m racking my brain for the SQL code to clean them out safely, but cannot remember how to structure it.
I had a similar issue several years ago when magpie caching was being used by another plugin – my entire hosting account got suspended that time around too – followed by a four month battle to get my site structures and data back from the hosts.
Because of the NG Gallery sticky support thread about not deleting the plugin or you will lose all data, I’m loathe to just rename the plugins folder to regain access to wp-admin as I would normally do, so I hope the NextGen team answer this topic quickly.
Please note; other people are posting threads here with identical issues, so this is not an isolated incident (and they are all dated in the last few days) – I’ve posted a short version of this post on one of those other topics.
Issuing a plugin update will not work NextGen – we cannot get into wp-admin to run the updater – we need a hack to clear the bug, and a sql script to clear the trash – and we need it urgently please, pretty please.
- The topic ‘NextGen Gallery has exploded SQL wp-options table’ is closed to new replies.