[wp-trac] [WordPress Trac] #44163: wpdb->update() fails, showing no error message
WordPress Trac
noreply at wordpress.org
Thu May 2 19:02:35 UTC 2024
#44163: wpdb->update() fails, showing no error message
-------------------------------+------------------------
Reporter: tazotodua | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version:
Severity: normal | Resolution: duplicate
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------
Changes (by hellofromTonya):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Related to #32315.
[52176] populated the `wpdb::$last_error` (instead of silently failing)
when data is invalid or too long. It modified the `wpdb::process_fields()`
logic which is also used by `wpdb::update()`. In testing an insert and
update, it is recording the error message in `wpdb::$last_error`. I
suspect this changeset also resolved this ticket.
Given there's been no follow-up, I'll mark it as a duplicate of #32315.
However, if the problem persists, please provide step-by-step instructions
of how to reproduce and reopen the ticket. Thank you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44163#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list