Created
May 16, 2022 02:15
-
-
Save eminozlem/869f17cb92ee9ab772fe4efe245b2af5 to your computer and use it in GitHub Desktop.
Debugging a $wpdb query insert or update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$wpdb->last_error | |
OR | |
<?php $wpdb->show_errors(); ?> | |
<?php $wpdb->hide_errors(); ?> | |
<?php $wpdb->print_error(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment