Error logs
-
Hi everybody,
I checked the error logs in my directadmin and I got this error all the time:
‘proxy_fcgi:error AH01071: Got error ‘PHP message: PHP Warning: Error while sending QUERY packet. PID=1454 in ……wp-includes/wp-db.php on line 1811\n”On line 1811 of the wp-db.php is this: * @see wp_set_wpdb_vars()
I have that error message on all my 3 wp blogs. I googled for it, but can’t find much info about it. Anybody have a clue what this is about and how I can get rid of it?
Johanna
-
Hi it looks like an issue with your database, maybe caused by a recent upgrade of your wp installation, try to use define( ‘WP_ALLOW_REPAIR’, true ); in your wp-config.php and then access {$your_site}/wp-admin/maint/repair.php to see if that fix the problem.
Thanks.
And do I put that
define( ‘WP_ALLOW_REPAIR’, true );
at the bottom of the wp-config.php?
And can I leave that “WP_ALLOW_REPAIR’, true” in my wp-config.php afterwards?
And by accessing my site $your_site}/wp-admin/maint/repair.php, what exactly do you mean by that? I am sorry, but I am not good in php at all.Johanna
Ok found what it is about. I will give it a try.
https://www.wpkb.com/using-wp-config-php-automatically-repair-database-problems/Johanna
Well I tried that, but everything works ok. So the database seems ok.
If somebody else has another idea, let me know.Johanna
Function wp_set_wpdb_vars sets the database table prefix and the format specifiers for database table columns. Is this a multisite wordpress installation?
No. No multisite.
I found this thread: https://wordpress.org/support/topic/wordpress-452-issues?replies=19
It is a slightly different error, but also with the 1811\n error.
I asked my hosting provider to change the “max_allowed_packet size” to 32M. They did that, but unfortunately that didn’t solve it.
Somebody else has any other ideas?Johanna
This error is still there.
My hosting provider increased the max_allowed_packet size to 32M and I also added a timeout of 300 in the wp-config file.
But none of that solved it.
Somebody experiencing the same? And maybe has a solution for this?Johanna
The topic ‘Error logs’ is closed to new replies.