Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1259062

    Hi,

    I’m facing issues with my site.
    It all started with slowness in the site and chasing timeout. After optimizing the DB it currently point to the Avia Builder.

    The easiest way to trigger the error is create a new blog post and try to add an image to it with the builder. This triggers a:

    Error reconnecting to the database
    This means that we lost contact with the database server at localhost. This could mean your host’s database server is down.

    This is what I find in the debug.log

    [07-Nov-2020 15:18:50 UTC] PHP Notice: QM_DB was called <strong>incorrectly</strong>. QM_DB must set a database connection for use with escaping. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.6.0.) in /home/wp/disk/wordpress/wp-includes/functions.php on line 5229
    [07-Nov-2020 15:18:50 UTC] PHP Notice: QM_DB was called <strong>incorrectly</strong>. QM_DB must set a database connection for use with escaping. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.6.0.) in /home/wp/disk/wordpress/wp-includes/functions.php on line 5229
    [07-Nov-2020 15:18:48 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/wp/disk/wordpress/wp-includes/wp-db.php on line 1635
    [07-Nov-2020 15:18:48 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/wp/disk/wordpress/wp-includes/wp-db.php on line 1635
    [07-Nov-2020 15:18:44 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /home/wp/disk/wordpress/wp-includes/wp-db.php on line 1635

    When using wp blocks or changing the theme to woocommerce store front, the issue is not triggered.
    I just manually upgraded to enfold 4.7.6.4

    The hosting package has more than enough resources to work. I actually doubled it to be able to troubleshoot.

    #1259070

    I found the issue, it was not related to Enfold.. it was another plugin.
    This issue can be closed and deleted, because I don’t think it will help anyone else.

    #1259183

    Hi pabloendres,

    We’re happy to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Error reconnecting to the database when adding an image to a post’ is closed to new replies.