Database Warning - by gurhan - on WordPress WooCommerce support

This topic has 6 replies, 4 voices, and was last updated 9 years, 4 months ago ago by Robert Hall

  • Avatar: gurhan
    gurhan
    Participant
    August 16, 2016 at 18:17

    Why did I start getting this error all of a sudden please –> Warning: Error while sending QUERY packet. PID=24388 in /home/inter201/public_html/heryerdekitap/wp-includes/wp-db.php on line 1813

    Go to the site, and scroll all the way to the bottom please…

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 16, 2016 at 19:34

    Hello,

    That is just a warning, not an error.
    It’s displayed because you have the function “display_errors” enabled on your server.
    Ask your hosting provider support to disable it.

    Best regards,
    Jack Richardson.

    Avatar: Ngo
    Ngo
    Participant
    August 17, 2016 at 14:56

    You can input this code into wp-config.php

    ini_set(‘log_errors’,’On’);
    ini_set(‘display_errors’,’Off’);
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

    To hide warning from php error

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 17, 2016 at 16:08

    Hello @Ngo,

    Thank you for sharing the solution.

    Best regards,
    Jack Richardson.

    Avatar: gurhan
    gurhan
    Participant
    August 17, 2016 at 17:43

    yes… thank you Ngo, do appreciate it! 🙂

    Avatar: Robert Hall
    Robert Hall
    Participant
    August 17, 2016 at 18:32

    Hello,

    So, we close this ticket.
    If you have any questions please feel free to contact us.

    Regards,
    Robert Hall

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Database Warning’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.