Title: Many database errors in wp debug log
Last modified: October 13, 2018

---

# Many database errors in wp debug log

 *  [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/many-database-errors-in-wp-debug-log/)
 * I see all these errors repeatedly where the last error specifically repeats multiple
   times in my debug log.
 *     ```
       WordPress database error Table 'mydb.bs_structuring_markup' doesn't exist for query SELECT * FROM bs_structuring_markup WHERE type = 'event' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->create_post_type, Structuring_Markup_Custom_Post_Event->__construct, Structuring_Markup_Admin_Db->get_type_options
   
       WordPress database error Table 'mydb.bs_structuring_markup' doesn't exist for query SELECT * FROM bs_structuring_markup WHERE type = 'video' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->create_post_type, Structuring_Markup_Custom_Post_Video->__construct, Structuring_Markup_Admin_Db->get_type_options
   
       WordPress database error Unknown table 'mydb.bs_structuring_markup' for query DROP TABLE bs_structuring_markup made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->admin_init, Structuring_Markup->create_table, Structuring_Markup_Admin_Db->create_table
   
       WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type TINYTEXT NOT NULL,activate TINYTEXT NOT NULL,output TEXT NOT NULL,options T' at line 1 for query ALTER TABLE bs_structuring_markup CHANGE COLUMN <code>id</code> id MEDIUMINT(9) NOT NULL AUTO_INCREMENT PRIMARY KEY,type TINYTEXT NOT NULL,activate TINYTEXT NOT NULL,output TEXT NOT NULL,options TEXT NOT NULL,register_date DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL,update_date DATETIME DEFAULT '0000-00-00 00:00:00' NOT NULL,UNIQUE KEY id (id) made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->admin_init, Structuring_Markup->create_table, Structuring_Markup_Admin_Db->create_table, Structuring_Markup_Admin_Db->create_table_execute, dbDelta
   
       WordPress database error Invalid default value for 'id' for query ALTER TABLE bs_structuring_markup ALTER COLUMN <code>id</code> SET DEFAULT '0000-00-00 00:00:00' made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->admin_init, Structuring_Markup->create_table, Structuring_Markup_Admin_Db->create_table, Structuring_Markup_Admin_Db->create_table_execute, dbDelta
   
       WordPress database error Table 'mydb.bs_structuring_markup' doesn't exist for query SHOW FULL COLUMNS FROM <code>bs_structuring_markup</code> made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, Structuring_Markup->admin_init, Structuring_Markup->create_table, Structuring_Markup_Admin_Db->create_table, Structuring_Markup_Admin_Db->insert_options
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [pingram](https://wordpress.org/support/users/pingram3541/)
 * (@pingram3541)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/many-database-errors-in-wp-debug-log/#post-10986965)
 * Hah, I had forgot about this and came back to report this very same issue again
   apparently. As a matter of fact, I’ve checked all my sites with this plugin and
   they all do this. Different customers, different hosting platforms.

Viewing 1 replies (of 1 total)

The topic ‘Many database errors in wp debug log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-structuring-markup_a79c6f.svg)
 * [Markup (JSON-LD) structured in schema.org](https://wordpress.org/plugins/wp-structuring-markup/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-structuring-markup/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-structuring-markup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-structuring-markup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-structuring-markup/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [pingram](https://wordpress.org/support/users/pingram3541/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/many-database-errors-in-wp-debug-log/#post-10986965)
 * Status: not resolved