Debug Bar
dbDelta() issues DB errors on table creation that are caught by Debug Bar (1 post)

  1. Eric Andrew Lewis
    Posted 3 years ago #

    If you use the boilerplate code in the Codex article on Creating Tables from Plugins, running it will cause the Debug Bar tab to light up red; the error is that the table you're creating can't be "DESCRIBED," which is a suppressed error, but Debug Bar picks up on all errors, whether or not they are suppressed.

    I'm not sure if this is a core bug, since $wpdb->suppress_errors is ignored while storing DB errors in the $EZSQL_ERROR.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Debug Bar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.