PHP Warnings During Backup

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #310271
    Sharif
    Participant

    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?

    #310479
    Dee Nutbourne
    Moderator

    Hi,

    Please could you send us a copy of the latest backup log to show these warnings?

    The contents will be too long to post here directly, but you can use an online service such as Dropbox or Pastebin, and post the link here.

    Best Wishes,
    David N

    #310577
    Sharif
    Participant
    This reply has been marked as private.
    #310723
    Dee Nutbourne
    Moderator

    Hi,

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘PHP Warnings During Backup’ is closed to new replies.