Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 1 year, 2 months ago.

Assisted by: Mateus Getulio.

Author Posts
October 5, 2023 at 7:35 pm #14523063

peiyesS

We have detected a problem with some tables in the database. Please contact WPML support to get this fixed.

Lost connection to MySQL server during query
Array
(
[language] => en
[context] => WP Endpoints
[gettext_context] =>
[domain_name_context_md5] => bb8eb71afbfb9b72461ee6340a75c751
[name] => pagar-orden
[value] => pagar-orden
[status] => 0
[translation_priority] => optional
[allow_empty_value] =>
)

October 6, 2023 at 2:11 pm #14529199

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Welcome to our support forum, and thanks for your contact!

First, by looking at your debug info, it is possible to see that the WP Memory Limit is set to 40M, while the recommended is 256. Changing it can avoid these problems. Please follow these steps:

- Find your wp-config.php file in the root directory of your WordPress installation
- Open the wp-config.php file with a text editor, then locate the line that includes: define('WP_DEBUG', false)
- Then add after it, the below line of code: define ('WP_MEMORY_LIMIT', '256M');
- Save the wp-config.php file, then refresh your website

Now, regarding the 'MySQL server has gone away' message itself, usually it means that your hosting cut the connection to the database. This can happen for internal issues, maintenance, etc.

If you see that notification, it has a close link ("x" button) that you can press and if it doesn't appear again, then it means the problem is gone.

If the message returns, I'm afraid that your hosting company will be more able to help you with this, since it also might be caused by a too low setting for max_allowed_packet. Please check a related thread: https://stackoverflow.com/questions/7942154/mysql-error-2006-mysql-server-has-gone-away

Please let me know if the issue is solved after trying the steps outlined above. Thanks!

Regards,
Mateus.

The topic ‘[Closed] We have detected a problem with some tables in the database.’ is closed to new replies.