• Good morning, I am suddenly getting this warning and scans do not complete. We have not had this problem until the recent WP update, is there an issue?

    I did replace that file with a fresh one but get the same result.

    Warning: Error while sending QUERY packet. PID=33735 in /wp-includes/wp-db.php on line 1813

    Thank you.

    https://www.ads-software.com/plugins/wordfence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am getting the exact same error message (with different PID#) showing on the live traffic page:

    Wordfence Live Activity: Warning: Error while sending QUERY packet. PID=1011678 in /home/greent36/public_html/wp-includes/wp-db.php on line 1813

    Haven’t seen this before.

    Hi Bonesieveinc and JustSomeGratefulSoul,

    This does not appear to be directly related to Wordfence. There have been numerous reports of this warning in other various plugin forums. Most recently it appears to have been triggered by a WordPress update, but that has yet to be confirmed.

    Matt has some possible causes on this thread. Also this thread may be helpful.

    We are looking into it, but based on my research I think it is a server configuration issue.

    Possible causes are limits being reached in one of the following:
    – host’s memory limit
    – mysql’s max_allowed_packet
    – mysql’s wait_timeout

    Hope that helps! Let me know what you find out.

    Hello, someone could help me solve this error that appears every time I upload a topic that I acquired, I need to solve it as soon as possible, I really appreciate it. I’m a university student and I’m losing my job because of this inconvenience that I have not been layers of Solve, could help me with a solution. Thank you.

    Warning: Error while sending QUERY packet. PID=401598 in /home//public_html/wp-includes/wp-db.php on line 1879

    private function _do_query( $query ) {
    if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
    $this->timer_start();
    }

    if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
    $this->result = mysqli_query( $this->dbh, $query );
    } elseif ( ! empty( $this->dbh ) ) {
    this->result = mysql_query($this->dbh, $query );
    }
    $this->num_queries++;

    if ( defined( ‘SAVEQUERIES’ ) && SAVEQUERIES ) {
    $this->queries[] = array( $query, $this->timer_stop(), $this->get_caller() );
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Error while sending QUERY packet.’ is closed to new replies.