• Resolved George

    (@quantum_leap)


    I have just faced a very strange issue. At the top of my admin I started seeing some warnings:
    Warning: mysqli_query(): MySQL server has gone away in siteroot\wp-includes\wp-db.php on line 1878
    and
    Warning: mysqli_query(): Error reading result set's header in siteroot\wp-includes\wp-db.php on line 1878

    Those two warnings appear twice by the way. I am working on a local XAMPP installation. The strange issue is that I am also working on an almost identical copy of the site with the same plugins and the issue does not appear there. I also tried deactivating, uninstalling and reinstalling the plugin but that didn’t fix anything.

    What on earth could it be?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Can you replace the files with the files on this development version : https://github.com/phpbits/widget-options/tree/develop and let me know how it goes. This updates will be published soon and I hope the fixes on your issues will also works perfectly. Thanks!

    Cheers,
    Jeffrey

    Thread Starter George

    (@quantum_leap)

    Hi, thanks for that but I can’t recreate the problem anymore! Basically I changed the max_allowed_packet to 16M instead of 1M in the my.ini MySQL settings in XAMPP and that fixed the problem. In trying to recreate the problem again I set the max_allowed_packet back to 1M but I get no errors now(have restarted Apach and MySQL server of course).

    • This reply was modified 7 years, 9 months ago by George.

    Hi,

    Sounds good ?? Just use the development version for now, the updates will be published soon ?? Will close this support ticket for now. Feel free to open a new one when you encounter any other issues. Thanks!

    Cheers,
    Jeffrey

    Thread Starter George

    (@quantum_leap)

    Hi just wanted to say that it actually works now without the development version. What I described before was with using the current live version. Somehow I cannot replicate it with the current version anymore.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MySQL server has gone away’ is closed to new replies.