Title: PHP Warning: Error while sending QUERY packet?
Last modified: September 18, 2019

---

# PHP Warning: Error while sending QUERY packet?

 *  [devrekli](https://wordpress.org/support/users/devrekli/)
 * (@devrekli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-3/)
 * Hello. I checked my error.log file
 *     ```
       PHP Warning:  Error while sending QUERY packet. PID=16921 in /home2/site/public_html/wp-includes/wp-db.php on line 2007
       PHP Warning:  Error while sending QUERY packet. PID=23192 in /home2/site/public_html/wp-includes/wp-db.php on line 2007
       ```
   
 * There are thousands of lines like this. what is problem? thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-3/#post-11945837)
 * What you was doing at the site when get this error?
 * Updating WP? Or, something else?
 *  Thread Starter [devrekli](https://wordpress.org/support/users/devrekli/)
 * (@devrekli)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-3/#post-11945891)
 * I updated it yesterday. But this error is new.
 * **[18-Sep-2019 12:45:32 UTC]** PHP Warning: Error while sending QUERY packet.
   PID=16921 in /home2/site/public_html/wp-includes/wp-db.php on line 2007
 * I just tried the plugin today. thanks
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-3/#post-11946007)
 * Possibly the update took longer than the database connection timeout in mysql.
 * Try **MANUALLY** updating. [Download WordPress](https://wordpress.org/download/)
   again and unzip it, and use that to copy up. Access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel (consult your hosting
   provider’s documentation for specifics on these), and delete then replace your
   copies of everything on the server EXCEPT the wp-config.php file and the /wp-
   content/ directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. (NOTE:
   do not delete the wp-content directory or your wp-config.php file). Please read
   the [Manual Update](https://wordpress.org/support/article/updating-wordpress/#manual-update)
   directions first.
 * If the issue still persists, contact your hosting provider.
 * **Backup: If you haven’t already done, always backup everything (including your
   database) before doing any actions, just in case something really goes wrong.
   You can never have enough backups! See [https://wordpress.org/support/article/wordpress-backups/](https://wordpress.org/support/article/wordpress-backups/)**
    -  This reply was modified 6 years, 8 months ago by [t-p](https://wordpress.org/support/users/t-p/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Warning: Error while sending QUERY packet?’ is closed to new replies.

## Tags

 * [wp-db.php](https://wordpress.org/support/topic-tag/wp-db-php/)
 * [wp-includes](https://wordpress.org/support/topic-tag/wp-includes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-3/#post-11946007)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
