Title: WordPress database error Unknown column
Last modified: November 19, 2019

---

# WordPress database error Unknown column

 *  Resolved [danushkaj91](https://wordpress.org/support/users/danushkaj91/)
 * (@danushkaj91)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/)
 * I keep getting this error on my debug.log
 * [12-Nov-2019 22:54:20 UTC] WordPress database error Unknown column ‘qua’ in ‘
   field list’ for query UPDATE wp_sbb_stats SET qua = qua + 1, qtotal = qtotal+
   1 WHERE date = ‘1112’ made by require(‘wp-blog-header.php’), require_once(‘wp-
   load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/
   plugins/stopbadbots/stopbadbots.php’), sbb_stats_moreone

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12149828)
 * Hi Danushkaj91
 * Thanks for letting me know.
    Are you running with the last version (5.55)?
 * Cheers,
    Bill
 *  Thread Starter [danushkaj91](https://wordpress.org/support/users/danushkaj91/)
 * (@danushkaj91)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12149836)
 * Hi [@sminozzi](https://wordpress.org/support/users/sminozzi/) ,
 * Sorry for not providing you enough information.
 * Yes, I’m running V5.5 on PHP 7.3
 * Thanks
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12150044)
 * Great.
    It looks like only some statistics problems. Then, don’t worry. I will
   check that and let you know today afternoon, London time.
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12150510)
 * Hi Danushkaj91
 * I run a test on my computer and it is working fine.
    I suggest you:
 * a) Deinstall and install again the plugin
    (in this case your database will be
   reset)
 * or
 * b) Download the file from WordPress, unzip and upload by FTP.
    In this case, 
   your database of stop bad bots is not reset.
 * Please, let me know if this fixes it.
    Cheers, Bill
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12154922)
 * Hi Danushkaj91,
 * Please, try the new version 5.56
    We fixed it.
 * Cheers,
    Bill
 *  Thread Starter [danushkaj91](https://wordpress.org/support/users/danushkaj91/)
 * (@danushkaj91)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12157515)
 * [@sminozzi](https://wordpress.org/support/users/sminozzi/) Thanks a lot!
 *  Plugin Author [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * (@sminozzi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12158281)
 * You are welcome!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘WordPress database error Unknown column’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stopbadbots_f0f0f0.svg)
 * [Block Bad Bots and Stop Bad Bots Crawlers and Spiders and Anti Spam Protection](https://wordpress.org/plugins/stopbadbots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stopbadbots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stopbadbots/)
 * [Active Topics](https://wordpress.org/support/plugin/stopbadbots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stopbadbots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stopbadbots/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [sminozzi](https://wordpress.org/support/users/sminozzi/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-4/#post-12158281)
 * Status: resolved