[wp-trac] [WordPress Trac] #57943: Massive SQL statement shown in Dashboard WordPress Events and News. WordPress database error Got a packet bigger than 'max_allowed_packet'
WordPress Trac
noreply at wordpress.org
Fri Mar 17 20:34:27 UTC 2023
#57943: Massive SQL statement shown in Dashboard WordPress Events and News.
WordPress database error Got a packet bigger than 'max_allowed_packet'
-------------------------------------------------+-------------------------
Reporter: ipajen | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-testing-info needs-testing | Focuses:
reporter-feedback |
-------------------------------------------------+-------------------------
Comment (by ipajen):
Replying to [comment:2 costdev]:
> Hi @ipajen, thanks for opening this ticket!
>
> Does this also occur on WordPress 6.1.1?
Sorry cant reproduce the issue.
https://core.trac.wordpress.org/ticket/57943#comment:3
Guessing it happens because of the data received to the Dashboard
WordPress Events was maybe corrupt or wrong format and massive over the
max_allowed_packet and then it wanted to save all to the databas so error
accord and then logged everything. Don't know if its the best solution but
is it possible to save a max length of the data in logs if it happens
again?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57943#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list