Hello John, can you tell me please exactly which debugging do you mean ? Is it Debug mode or Database debug mode ?
Thank you.
Csaba
Hi Csaba,
I am referring to the notice when using WP DB Booster. It says that I have Database DEBUG mode turned on. this is the text from the pop-up.
Database Related Security Tests
Default Table Prefix
OK
Debug Mode
OK
Database Debug Mode
Having any kind of debug mode (WP DB debug mode in this case) or error reporting mode enabled on a production server is extremely bad. Not only will it slow down your site, confuse your visitors with weird messages it will also give the potential attacker valuable information about your system.
BAD
Regards,
John.
Actually, plugin checks this function $wpdb->show_errors() , if it returns true its shows the “BAD” message, maybe one of your plugins used that function to set errors to be shown.
Please check for more info here: https://developer.ww.wp.xz.cn/reference/classes/wpdb/show_errors/
If you want to hide them you have to use wpdb::hide_errors()
thank you,
Csaba