CAll Us: USA +1 9176775553   Login

MySQL server has gone away for query

Error :

“WordPress database error MySQL server has gone away for query…..”

Solution :

You need to add the following line in line number 334 in wp-includes/wp-db.php file

$this->query("set session wait_timeout=600");

Done