Title: WP database error
Last modified: April 23, 2017

---

# WP database error

 *  Resolved [acommarata](https://wordpress.org/support/users/acommarata/)
 * (@acommarata)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/)
 * WordPress database error: [Unknown column ‘role’ in ‘field list’]
    INSERT INTO`
   wp6i_spbc_auth_logs` (`datetime`, `user_login`, `event`, `auth_ip`, `page`, `
   page_time`, `blog_id`, `role`) VALUES (‘2017-04-23 15:14:53’, ‘acommarata’, ‘
   view’, ‘2925811294’, ‘/wp-admin/options-general.php?page=spbc&settings-updated
   =true’, NULL, 1, ‘administrator’)

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

 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9058734)
 * Hello.
 * Thank you for your request.
 * Could you give more information? That is:
    1. When do you you see this error?
   2. What version of the CleanTalk plugin do you use? 3. Have you tried to re-install
   the plugin? Here is the instruction — Manual Update section — [https://cleantalk.org/update?platform=wordpress](https://cleantalk.org/update?platform=wordpress)(
   Just replace Anti-Spam with **Security by CleanTalk**)
 * Best regards.
 *  Thread Starter [acommarata](https://wordpress.org/support/users/acommarata/)
 * (@acommarata)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9058887)
 * The error messages started showing up in my administration panel after the WP
   upgrade to v4.7.4.
 * Yes, I deleted and re-installed both: Anti-Spam by CleanTalk v5.63 & Security
   by CleanTalk v1.14 reactivating them with their access license keys.
 * They seem to be both working according per the CleanTalk dashboard: Anti-Spam
   status shows as Active and Security status show as Protected.
 * Screen capture: [https://snag.gy/asQ5p9.jpg](https://snag.gy/asQ5p9.jpg)
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9059074)
 * Okay, thank for the info.
 * We will fix it as soon as possible.
 * Please, wait.
 *  [Safronik](https://wordpress.org/support/users/safronik/)
 * (@safronik)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9061512)
 * Hello,
 * It seems that you have broken database table structure.
    You should open file
   wp-config.php in the WordPress’s root folder and place this string:
 * **define(‘SPBC_ALLOW_COMPLETE_DEACTIVATION’, true);**
    above this one: **/\* 
   That’s all, stop editing! Happy blogging. \*/**
 * Mark it, save settings and then deactivate the plugin and activate plugin one
   more time. This will delete all CleanTalk’s data from WordPress database (All
   logs will be sent to the CleanTalk’s cloud when you press save settings, so you
   will not lose any data).
    The problem should be gone.
 * Please, mark as resolved if it so. Contact us if you have any questions.
 *  Thread Starter [acommarata](https://wordpress.org/support/users/acommarata/)
 * (@acommarata)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9077056)
 * I followed your instructions… Unfortunately, I am still receiving the following
   error message:
 * WordPress database error: [Unknown column ‘role’ in ‘field list’]
    INSERT INTO`
   wp6i_spbc_auth_logs` (`datetime`, `user_login`, `event`, `auth_ip`, `page`, `
   page_time`, `blog_id`, `role`) VALUES (‘2017-04-28 06:25:46’, ‘acommarata’, ‘
   view’, ‘2925811294’, ‘/wp-admin/options-general.php?page=spbc’, NULL, 1, ‘administrator’)
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9077214)
 * Hello.
 * Okay, thank you for your feedback.
 * We will see what could be done here. We will contact you shortly.
 * Best wishes.
 *  [Safronik](https://wordpress.org/support/users/safronik/)
 * (@safronik)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9077365)
 * Hello,
 * Sad to hear it. We need to know that you did it right.
 * Do you have the “Complete deactivation” option in the plugin settings? ([Screenshot](http://prntscr.com/f1r4ve))
 * You should have marked it, saved settings and deactivated the plugin?
    Have you
   done it?
 * Waiting for your answer.
 *  Thread Starter [acommarata](https://wordpress.org/support/users/acommarata/)
 * (@acommarata)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9078335)
 * wp-config.php screen capture:
    [https://snag.gy/anxQ80.jpg](https://snag.gy/anxQ80.jpg)
 * security by clean talk screen capture (complete deactivation option not available):
   
   [https://snag.gy/MF0Ip3.jpg](https://snag.gy/MF0Ip3.jpg)
 * please advise.
 * Thank you,
    Anthony Commarata
 *  [Safronik](https://wordpress.org/support/users/safronik/)
 * (@safronik)
 * [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9078386)
 * Hello,
 * Please, create a support ticket here: [https://cleantalk.org/my/support/open](https://cleantalk.org/my/support/open)
   so we could look at the problem more closely.
 * Please, contact us.

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

The topic ‘WP database error’ is closed to new replies.

 * ![](https://ps.w.org/security-malware-firewall/assets/icon-256x256.gif?rev=3518712)
 * [Security Plugin, Firewall, Malware Auto Removal & Login Security](https://wordpress.org/plugins/security-malware-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/security-malware-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/security-malware-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/security-malware-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/security-malware-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/security-malware-firewall/reviews/)

## Tags

 * [column](https://wordpress.org/support/topic-tag/column/)
 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)
 * [role](https://wordpress.org/support/topic-tag/role/)

 * 9 replies
 * 3 participants
 * Last reply from: [Safronik](https://wordpress.org/support/users/safronik/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/wp-database-error-6/#post-9078386)
 * Status: resolved