Quantcast
Channel: Why does dbDelta() not catch MysqlErrors? - WordPress Development Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by rinogo for Why does dbDelta() not catch MysqlErrors?

As @Charleston Software Associates mentioned, the DESCRIBE query should not be executed if the table doesn't exist. The best solution, as he pointed out, is to prevent the error from occurring in the...

View Article


Answer by Lance Cleveland for Why does dbDelta() not catch MysqlErrors?

DB errors of that type should only appear on the UI if DB_DEBUG is enabled. On a production system that should be disabled. You should find that setting in the wp-config.php file for your WP...

View Article

Why does dbDelta() not catch MysqlErrors?

From what I can see, dbDelta() is designed to suppress database errors that occur during its operation. Generally speaking, this seems to be the case, but New Relic is still reporting MysqlErrors from...

View Article
Browsing all 3 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>