Hi, I’ve been seeing the following entry in my logs for backups:
PHP event: code E_WARNING: Error while sending QUERY packet. PID=3580556 (line 1924, wp-includes/wp-db.php)
The backup appears to succeed, but these warnings are sprinkled throughout the log. Is this an issue, will the backups that are taken be able to be restored if needed in the future?
These warnings are related to updating the backup records in the database, and do not affect the backup proper.
As such, the warnings can be ignored.
The issue is that the query is too large for the SQL server (as it is recording files that have been processed). You can also ask your hosts/server admin to increase the ‘max_allowed_packet’ for your MySQL server.
Best Wishes,
David N
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘PHP Warnings During Backup’ is closed to new replies.