Home Forums WoodMart support forum PHP Warning

PHP Warning

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #160172

    horny_fungus
    Participant

    Hi, guys. Are you sure that “wp_woocommerce_session_ce29c5c1da714cb88a07dd2621b52f3c cookie cannot be set” notice is really harmless?
    I have another error in the log:
    PHP Warning: mysqli_real_connect(): (HY000/1226): User 'xxx' has exceeded the 'max_user_connections' resource (current value: 15) in .../public_html/wp-includes/wp-db.php on line 1612
    It is thrown a few times a day and during that time site is unaccessible for a couple of seconds.
    I can’t blame your theme for sure. But rather often this error appears at the same time as above mentioned cookies notice, that’s why I came to conclusion they are related.

    #160200

    Artem Temos
    Keymaster

    Hello,

    That notice appears when we use WooCommerce Cookies API but it has no connection to the database. We will try to find some workaround for that notice.

    Kind Regards

    #202160

    horny_fungus
    Participant

    Hi, guys. I am still experiencing the following issue from time to time.

    Warning: mysqli_real_connect(): (HY000/1226): User 'xxx' has exceeded the 'max_user_connections' resource (current value: 15) in /wp-includes/wp-db.php on line 1626

    Unfortunately it’s difficult to recreate it, seams like it appears in different situations. I experienced it a few times on frontend which resulted in an error page which is a bad user experience. Can you please investigate the issue once again?

    #202222

    Artem Temos
    Keymaster

    Hi,

    mysqli_real_connect is not related to the previous issue. It seems to be caused by some connection spam or some bot parses your website and causes this error.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)