• Hi,

    I constantly get some php warnings like that and I need your help to figure out what that means and how to get rid off those warnings.

    
    Error message
    E_WARNING: Error while sending QUERY packet. PID=18213
    
    Stack trace
    …lled at /home/user/web/mydomain.com/public_html/wp-includes/
    wp-db.php (1877)
    …lled at /home/user/web/mydomain.com/public_html/wp-includes/
    wp-db.php (1765)
    mydomain.com/public_html/wp-content/plugins/w3-total-cache/
    DbCache_Wpdb.php (247)
    mydomain.com/public_html/wp-content/plugins/w3-total-cache/
    DbCache_WpdbInjection.php (54)
    mydomain.com/public_html/wp-content/plugins/w3-total-cache/
    DbCache_Wpdb.php (152)
    mydomain.com/public_html/wp-content/plugins/w3-total-cache/
    DbCache_Wpdb.php (390)
    …_html/wp-content/plugins/w3-total-cache/
    DbCache_WpdbInjection_QueryCaching.php (153)
    mydomain.com/public_html/wp-content/plugins/w3-total-cache/
    DbCache_Wpdb.php (152)
    …lled at /home/user/web/mydomain.com/public_html/wp-includes/
    wp-db.php (2313)
    …led at /home/user/web/mydomain.com/public_html/wp-includes/
    option.php (506)
    …c_html/wp-content/plugins/w3-total-cache/
    ObjectCache_WpObjectCache_Regular.php (553)
    …c_html/wp-content/plugins/w3-total-cache/
    ObjectCache_WpObjectCache_Regular.php (327)
    …om/public_html/wp-content/plugins/w3-total-cache/
    ObjectCache_WpObjectCache.php (63)
    …t /home/user/web/mydomain.com/public_html/wp-content/
    object-cache.php (80)
    …led at /home/user/web/mydomain.com/public_html/wp-includes/
    option.php (579)
    …ansient called at /home/user/web/mydomain.com/public_html/
    wp-cron.php (127)
    

    Please help

    Thank you in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • this happen when the packet size exceeds the max_allowed_packet size. Try to increase on mysql eg.:

    SET GLOBAL max_allowed_packet=32M

    Moderator t-p

    (@t-p)

    Also, try deactivating w3-total-cache plugin.

    Thread Starter LukeSeven

    (@lukeseven)

    Hi,

    I have recently increased the max_allowed_packet= from 30M to 1024M and still getting those warnings much less often. So I think it’s kinda the solution I found yesterday on google, however, I still get that warning time to time, strange.

    I can try to disable the W3 Total Cache to see if it goes off but I prefer to keep the cache engine enabled and figure out what is causing it.

    If there is anything else I could try out, please throw it at me.

    Thank you in advance

    Thread Starter LukeSeven

    (@lukeseven)

    Hi,

    I have disabled the W3 Total cache and I no longer get these warnings

    
    PHP Warning: Error while sending QUERY packet. PID=12625 in /wp-includes/wp-db.php on line 1877
    

    but I started getting these below

    
    PHP Fatal error: Uncaught Error: Call to a member function is_rtl() on null in /wp-includes/script-loader.php:986
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(298): wp_localize_jquery_ui_datepicker('')
    #1 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #2 /wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /wp-includes/script-loader.php(1221): do_action('wp_enqueue_scri...')
    #4 /wp-includes/class-wp-customize-manager.php(417): wp_enqueue_scripts()
    #5 /wp-includes/class-wp-customize-manager.php(493): WP_Customize_Manager->wp_die(0, 'Non-existent ch...')
    #6 /wp-includes/class-wp-hook.php(298): WP_Customize_Manager->se in /wp-includes/script-loader.php on line 986
    

    and

    
    PHP Warning: array_values() expects parameter 1 to be array, null given in /wp-includes/script-loader.php on line 983
    

    I assume that this warning

    
    PHP Warning: Error while sending QUERY packet. PID=12625 in /wp-includes/wp-db.php on line 1877
    

    has something to do with W3 total cache and I’d like to find out what else I could do to get rid off those.

    Any idea ?

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘E_WARNING: Error while sending QUERY packet. PID=18213 Stack trace …lled at /ho’ is closed to new replies.