If I check “Clear oEmbed cache” and click “Analyze (detail)”, all the embeds are rendered in the browser. This is bad for multiple reasons: first, trying to render 80k embeds slows the entire system down. Second, this is probably a security risk: it may allow stored XSS, where a user can insert an embed that runs in my admin browser context.
]]>I have noticed that the odb_uninstallation_handler method
is never called (at least in a multi-site setup) which has for consequence of leaving settings and a table in database.
I couldn’t find the exact issue, however I believe that one problem is that the method must be declared as public static function odb_uninstallation_handler()
Hello,
I’m exploring the plugin in php 8.3 and found the following issue:
Deprecated: Automatic conversion of false to array is deprecated in plugins/rvg-optimize-database/rvg-optimize-database.php on line?208
function odb_load_options() {
// GET OPTIONS
$this->odb_rvg_options = $this->odb_multisite_obj->odb_ms_get_option('odb_rvg_options');
if(!isset($this->odb_rvg_options['version']))
// THIS VERSION IS FROM BEFORE 4.0: CONVERT OPTIONS
$this->odb_convert_options();
if(!isset($this->odb_rvg_options['adminbar']))
$this->odb_rvg_options['adminbar'] = 'N';
The code needs to be updated to (first time odb_ms_get_option returns false):
function odb_load_options() {
// GET OPTIONS
$this->odb_rvg_options = $this->odb_multisite_obj->odb_ms_get_option('odb_rvg_options', []);
Also please consider moving the development to github, this way people can submit issues and pull requests.
]]>Hi,
The plugin wants to optimize table that starts with wp_, though my database has ap_ as prefix, is there a way to modify the prefix to be target by the plugin ?
Best Regards,
AK
Hi and thank you for this great plugin! I was handed over a website that has a rapidly growing database, due to transients mostly coming from Woocommerce. After many months I haven’t figured out what the issue is, and the web hosting only offers 250MB for the database, so it’s giving me a headache.
Your plugin has been a big help, running the optimization every hour. Sometimes, running it every hour is still not fast enough to keep the database below 250MB. Therefore I’d like to request if the option to set the planner to run the optimization every 30 minutes could be implemented in the next update.
Thank you in advance for considering my request.
Best regards,
Tom
Hello,
I came across your plugin while looking at database cleaners. Anyway, the link attached to NerdPress (“By NerdPress”) on your plugin home page, https://www.ads-software.com/plugins/rvg-optimize-database/, is formatted incorrectly with 2 periods. It reads www..nerdpress.net
.
Hi,
on wp-cli execution HTML is dispayed.
rgh-optimize-database.php line 743 – 740.
Please add && !defined( 'WP_CLI' )
Thanks
The latest version of the plugin no longer removes outdated revisions. My settings are: maximum number of revisions = 1. I edited the page, the plugin did not find the revision and did not delete it. Also, when you click on Optimize (1 click), nothing happens.
]]>in the settings option no tables are shown
in Optimizing Database Tables both numbers (before/after are the same.
WordPress 6.4.3 | PHP 8.3.2 | Apache | MySQL 10.6.16-MariaDB-log
]]>Hello,
I have WordPress ver. 6.4.3 and PHP 8.0 and clicking Optimize DB opens the page with no revisions deleted. This repeats on several sites and different servers. If rolled back to ver. 5.1.1, it works as expected.
]]>Deprecated: Creation of dynamic property OptimizeDatabase::$odb_logfile_debug_path is deprecated in /rvg-optimize-database/rvg-optimize-database.php on line 182
As far as I’m aware with these errors that is needed to fix them is to just make sure the property is defined before it is called.
]]>I don’t have a question. I am just welcoming you back.
Your plugin was sorely missed.
]]>Scans are showing:
WordPress Optimize Database after Deleting Revisions plugin <= 5.1 – Cross Site Request Forgery (CSRF) vulnerability
Looking for a timeframe for an update.
Thanks.
]]>It has been reported that there is a security issue with a Cross Site Request Forgery (CSRF) vulnerability.
Do you know when this will be patched? Thanks.
]]>Hello,
is like your plugin. Is it wordpress 6.2 tested/compatible? PHP 6.1/6.2?
Regards
Rainer
Is it possible to export revisions made on WordPress pages and posts, as an excel, csv or other file format?
]]>Hi Cage! So I’ve been running basic routine optimizations for a couple weeks testing things out. However, today was different. When I “one-click” optimized, it broke AMP output, killing the html/css for the homepage. Very strange behavior on our photography blog.
Have a look for yourself.
https://brandywinephotography.com/?amp=1
I’m letting the crew at AMP for WP know what’s up too.
Hi! Can I safely upgrade to PHP 8 with your plugin? Is it compatible with Php 8??
]]>I use Thrive Apprentice to sell online courses. User data such as login etc. are stored.
Does the plugin also delete this data and if so, what do I have to pay attention to so that these entries are retained?
Hi there,
Just checking whether you are continuing to support this most helpful plugin?
with respect,
Richard
]]>I used this plugin in the past and it worked perfectly.
I am trying it again but this time it is not deleting. I am using WP 5.9.5
I have ticked both pages and posts. Pages have many many revisions.
I have not tricked to exclude any tables.
But when I run analyse and/or optimise I get a 0 result, the revisions are still there.
I’m sure I must be missing something very obvious, please can somebody help?
]]>Hello,
I read that InnoDB storage engine has better performance than MyISAM.
For example here:
https://kinsta.com/knowledgebase/convert-myisam-to-innodb/
I noticed that your plugin use MyISAM storage engine in database.
Is it safe to convert this MyISAM database table to InnoDB?
Will this help anything with your plugin?
Or is there any reason why you use MyISAM database table?
Thank you,
David
]]>hello, I have not tried on version 6.0.1, but on version WP 6.0.2 with PHP 8.0 I have this error when the optimization is started:
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home/mhd-01/www.topwebultras.it/htdocs/wp-content/plugins/rvg-optimize-database/classes/odb-displayer.php:146
It could be corrected by changing line 146 of plugins/rvg-optimize-database/classes/odb-displayer.php to:
<span class="odb-bold">'.__('Number of excluded tables', $odb_class->odb_txt_domain).':</span> <span class="odb-bold odb-blue">'.(is_array($odb_class->odb_rvg_excluded_tabs)?count($odb_class->odb_rvg_excluded_tabs):0).'</span><br>' . $lastrun . '
Hello –
I was wondering if you had considered adding the ability to delete sessions from the database. This would be for option names beginning with _wp_session.
I’ve been doing this manually from time to time with the following:
DELETE FROM wp_options WHERE option_name LIKE '_wp_session_%'
Thanks for an amazing plugin!
Pete
Backend screen becomes white and stays white after pressing “analyse summary”
]]>Hello ??
We have a very big database, thousands of tables and a few hundreds of gigabytes in size, it’s time for a cleanup and this plugin looks like the best options!
But, I am concerned with the load. I am testing the plugin now on a much smaller staging site, and for example on the setting page all the tables are displayed, this can cause a timeout on our live server. And after we start the optimization, I am not sure what will happen with all this tables to work on ..
Any recommendation on how to handle our situation ?
If not, i have a suggestion :
We are using wordpress multisite, so all tables have the site ID number after the prefix (like wp_32_options for site ID = 32). How can we modify the plugin to only clean the tables that ARE checked in the settings AND modify the code to display only the tables from site ID = X to site ID = Y.
This way, we can display in the setting a reduced number of tables, for example only 10 sites (and avoid a timeout)–> check all –> clean only this 10 sites. And do this several time with the next 10 sites to clean the whole database.
No need to use the scheduler feature.
Thank you for your help!
]]>Hello,
do you have planed an update wordpress 5.9?
Regards
Rainer
How do you revert to default settings?
I ticked all the boxes, bt it is stopping one of my plugins from generating necessary logs.
I uninstalled and reinstalled, but the previous settings reappeared?
Any ideas?
Hello,
I have used this great plugin and since I am not planning to create more content and also because I have SiteGround Security and SG Optimizer planning programmed optimizations, my question is if it is safe to delete it.
Also, I have read your reply in post https://www.ads-software.com/support/topic/always-same-size-of-database-before-and-after-optimizing/ and also read FAQ, where you say “…so change the table type to MyISAM to have them being optimized.” I still don′t fully understand how to switch to MyISAM
Please advice,
Thank you very much
Liliana
]]>Hi Rolf,
I have a strange issue with your great plugin. Before and after deleting and optimizing the database, the size of the database is always same, i.e. the final message of the plugin mentions every time exactly same before size and after size, no matter how many items are deleted.
Over time the size of the database of course grows, so the size of the database changes, but not when invoking the action of the plugin.
I use the plugin with another website, and there I do see the size of the database changing after invoking the plugin.
Can you tell what’s the matter?
]]>