Title: PHP Warning: Error while sending QUERY packet.
Last modified: January 15, 2018

---

# PHP Warning: Error while sending QUERY packet.

 *  [lgames](https://wordpress.org/support/users/lgames/)
 * (@lgames)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-2/)
 * Please help to fixed this errors:
 * [Mon Jan 15 16:09:27.513688 2018] [:error] [pid 28839] [client ***.***.***.**:
   38150] PHP Warning: Error while sending QUERY packet. PID=28839 in /home/admin/
   web/lgames.info/public_html/wp-includes/wp-db.php on line 1931
    [Mon Jan 15 16:
   09:27.513658 2018] [:error] [pid 28731] [client ***.*.***.***:38850] PHP Warning:
   Error while sending QUERY packet. PID=28731 in /home/admin/web/lgames.info/public_html/
   wp-includes/wp-db.php on line 1931, referer: [http://lgames.info/](http://lgames.info/)[
   Mon Jan 15 16:09:27.513761 2018] [:error] [pid 28843] [client ***.*.***.***:38184]
   PHP Warning: Error while sending QUERY packet. PID=28843 in /home/admin/web/lgames.
   info/public_html/wp-includes/wp-db.php on line 1931 [Mon Jan 15 16:09:27.513784
   2018] [:error] [pid 5994] [client 197.8.214.178:38208] PHP Warning: Error while
   sending QUERY packet. PID=5994 in /home/admin/web/lgames.info/public_html/wp-
   includes/wp-db.php on line 1931

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-2/#post-9866560)
 * This may indicate an overly large query.
 * How is your site hosted? Are you on a shared host or a VPS you manage yourself?
 *  Thread Starter [lgames](https://wordpress.org/support/users/lgames/)
 * (@lgames)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-2/#post-9867217)
 * VPS 1gb CentOS 7
    -  This reply was modified 8 years, 6 months ago by [lgames](https://wordpress.org/support/users/lgames/).
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-warning-error-while-sending-query-packet-2/#post-9867228)
 * In your my.cnf file (or one of the files in includes, maybe my.cnf.d/server.cnf)
   try setting `max_allowed_packet` to something larger than the 4MB default — say`
   16M`. The restart mysql/mariadb.
    -  This reply was modified 8 years, 6 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
