[wp-trac] [WordPress Trac] #32315: $wpdb->insert fails without error msg

WordPress Trac noreply at wordpress.org
Fri Dec 11 17:22:21 UTC 2015


#32315: $wpdb->insert fails without error msg
--------------------------+------------------------------
 Reporter:  dlt101        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kwisatz):

 Confirming this issue. $wpdb->last_query will output the previous query
 and $wpdb->last_error will output an empty array in this case. In my case,
 this occurred on 4.3.1

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32315#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list