Title: WordPress database errors right after install
Last modified: August 24, 2016

---

# WordPress database errors right after install

 *  Resolved [It’s Thomas!](https://wordpress.org/support/users/itsthomas/)
 * (@itsthomas)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-errors-right-after-install/)
 * Hi there,
 * first of all: your plugin seems to be (working) great! No “real” errors that 
   I encountered.
 * Still, my php error log monitor gave me the following error message more or less
   right after the installation of your plugin (German WordPress installation: Datenbank
   = database; Fehler = error; für = for; Abfrage = query; von = from):
 * > WordPress-Datenbank-Fehler Multiple primary key defined für Abfrage ALTER TABLE
   > wp_wp_topbar_data ADD PRIMARY KEY id (bar_id) von do_action(‘toplevel_page_wp-
   > topbar’), call_user_func_array, wptb_options_page, wptb_check_for_plugin_upgrade,
   > wptb_create_table, dbDelta
 * > WordPress-Datenbank-Fehler Multiple primary key defined für Abfrage ALTER TABLE
   > wp_wp_topbar_data ADD PRIMARY KEY id (bar_id) von do_action(‘toplevel_page_wp-
   > topbar’), call_user_func_array, wptb_options_page, wptb_check_for_plugin_upgrade,
   > wptb_create_table, dbDelta
 * > WordPress-Datenbank-Fehler Multiple primary key defined für Abfrage ALTER TABLE
   > wp_wp_topbar_data ADD PRIMARY KEY id (bar_id) von do_action(‘toplevel_page_wp-
   > topbar’), call_user_func_array, wptb_options_page, wptb_check_for_plugin_upgrade,
   > wptb_create_table, dbDelta
 * Just thought I should let you know about it, so you can keep on improving this
   great plugin!
 * Thomas
 * [https://wordpress.org/plugins/wp-topbar/](https://wordpress.org/plugins/wp-topbar/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * (@rfgoetz)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-errors-right-after-install/#post-6001463)
 * Thanks! I found the problem and will upload it at the next patch. The issue was
   that the plugin kept thinking it had to update its table to add new fields. I
   fixed how it checked to see if it needed to do an update.

Viewing 1 replies (of 1 total)

The topic ‘WordPress database errors right after install’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-topbar_706d6d.svg)
 * [WP-TopBar](https://wordpress.org/plugins/wp-topbar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-topbar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-topbar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-topbar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-topbar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-topbar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rfgoetz](https://wordpress.org/support/users/rfgoetz/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/wordpress-database-errors-right-after-install/#post-6001463)
 * Status: resolved