Quantcast
Channel: WordPress.org Forums » [Wordfence Security - Firewall, Malware Scan, and Login Security] Support
Viewing all articles
Browse latest Browse all 33270

MySQLi error: [2006] MySQL server has gone away

$
0
0

Replies: 0

Hello,

MySQLi error: [2006] MySQL server has gone away

Can you please help.

This problem started about 2 months ago, every automatic and manual scan fails with the above error. I hoped the problem would go away but it persists.

Below are the troubleshooting steps I’ve made and some configuration settings.

BIG thanks for any help you can provide!
Julian

Troubleshoot test 1
Deactivated all plugins except Wordfence
Run PHP 7.4

Troubleshoot test 2
Deactivated all plugins except Wordfence
Run PHP 7.3

Wordfence scan failed each troubleshooting test run with error:
MySQLi error: [2006] MySQL server has gone away

Wordfence
Using low resource scanning
Requests 300 MB memory when scanning

Hosting
SiteGround, GrowBig, shared hosting. Resources seem to be OK.
Cloudflare CDN

Configuration
WordPress Login page is protected behind a CAPTCHA.

max_allowed_packet variable cannot be increased further.

wait_timeout is capped at 60 seconds

Error Logs
php_errorlog file in the public_html:

[28-Nov-2019 07:37:36 CST6CDT] PHP Fatal error: Unknown: Failed opening required '/home/oohlal9/public_html/wordfence-waf.php' (include_path='.:/usr/local/php71/pear') in Unknown on line 0
[28-Nov-2019 07:37:37 CST6CDT] PHP Fatal error: Unknown: Failed opening required '/home/oohlal9/public_html/wordfence-waf.php' (include_path='.:/usr/local/php71/pear') in Unknown on line 0
[28-Nov-2019 07:37:50 CST6CDT] PHP Fatal error: Unknown: Failed opening required '/home/oohlal9/public_html/wordfence-waf.php' (include_path='.:/usr/local/php71/pear') in Unknown on line 0
[28-Nov-2019 07:45:49 CST6CDT] PHP Fatal error: Unknown: Failed opening required '/home/oohlal9/public_html/wordfence-waf.php' (include_path='.:/usr/local/php73/pear') in Unknown on line 0

Viewing all articles
Browse latest Browse all 33270


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>