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.

This topic contains 18 replies, has 2 voices.

Last updated by Bruno Kos 6 months, 1 week ago.

Assigned support staff: Bruno Kos.

Author Posts
March 28, 2019 at 9:30 am #3478727

frederikJ-2

I am trying to: Update posts and pages

Link to a page where the issue can be seen: hidden link
* Right now the two plugins are deactivated
* I have tested all the plugins and the problem only happens when one or both of the two plugins are activated.

I expected to see: That the post would update

Instead, I got: Update fails and Network info shows 404 and 505 warnings.

March 28, 2019 at 11:30 am #3480335

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Thank you for contacting WPML support!

Can you tell me which are these plugins that don't work together? Apart from what, can you do the following, as this will allow us to see if any PHP errors are being produced?

1. Edit wp-config.php and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

2. Reproduce the issue.

3. Locate the debug log in: /wp-content/debug.log

4. Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.

https://codex.wordpress.org/Debugging_in_WordPress

Regards,
Bruno Kos

March 28, 2019 at 11:59 am #3480527

frederikJ-2

I have typed the code and activated the plugins: here are the Debug code

You can have access to? if you want

[28-Mar-2019 11:35:51 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:35:51 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 1000 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, register_admin_color_schemes, _x, translate_with_gettext_context, apply_filters('gettext_with_context'), WP_Hook->apply_filters, icl_sw_filters_gettext_with_context, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:36:51 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT COUNT(id) FROM wp_icl_strings WHERE context = 'default' made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, register_admin_color_schemes, _x, translate_with_gettext_context, apply_filters('gettext_with_context'), WP_Hook->apply_filters, icl_sw_filters_gettext_with_context, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_DB_Translation_Retrieve->get_number_of_strings_in_context
[28-Mar-2019 11:36:51 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT COUNT(id) FROM wp_icl_strings WHERE context = 'admin_texts_woocommerce_price_decimal_sep' made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Price_Filter->__construct, wc_get_price_decimal_separator, get_option, apply_filters('option_woocommerce_price_decimal_sep'), WP_Hook->apply_filters, WPML_Admin_Texts->icl_st_translate_admin_string, icl_t, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_ST_DB_Translation_Retrieve->get_number_of_strings_in_context
[28-Mar-2019 11:36:51 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT DISTINCT(s.language) FROM wp_icl_strings s made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, SitePress->init, do_action('wpml_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, wpml_tm_load, WPML_Action_Filter_Loader->load, WPML_Action_Filter_Loader->load_factory, WPML_Action_Filter_Loader->run_factory, WPML_Translation_Roles_Ajax_Factory->create, apply_filters('wpml_tm_allowed_source_languages'), WP_Hook->apply_filters, filter_tm_source_langs, WPML_TM_Filters->filter_tm_source_langs, WPML_TM_Filters->get_string_lang_codes
[28-Mar-2019 11:37:21 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:37:21 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 0 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Abstract_Privacy->add_privacy_message, WC_Privacy->get_privacy_message, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:38:06 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:38:06 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 1000 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Abstract_Privacy->add_privacy_message, WC_Privacy->get_privacy_message, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:48:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 5000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Cart->__construct, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:49:07 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:49:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 5000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Cart->__construct, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:49:55 UTC] PHP Notice: Undefined property: stdClass::$option_value in /home/a7t1uchrolda/public_html/test/wp-includes/option.php on line 104
[28-Mar-2019 11:49:58 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT autoload FROM wp_options WHERE option_name = '_wpml_transient__wpml_st_file_scan_in_progress' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->is_locked, WPML_Transient->get, delete_option
[28-Mar-2019 11:52:37 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 4000 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, register_admin_color_schemes, _x, translate_with_gettext_context, apply_filters('gettext_with_context'), WP_Hook->apply_filters, icl_sw_filters_gettext_with_context, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:53:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 6000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:53:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 5000 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, register_admin_color_schemes, _x, translate_with_gettext_context, apply_filters('gettext_with_context'), WP_Hook->apply_filters, icl_sw_filters_gettext_with_context, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:53:52 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:53:52 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 2000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:54:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 6000 made by do_action('admin_init'), WP_Hook->do_action, WP_Hook->apply_filters, register_admin_color_schemes, _x, translate_with_gettext_context, apply_filters('gettext_with_context'), WP_Hook->apply_filters, icl_sw_filters_gettext_with_context, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:54:37 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:54:37 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 3000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:55:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 6000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:55:22 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:55:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 2000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Cart->__construct, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:55:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 4000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:55:37 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:55:37 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 2000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 3000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:07 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:56:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 3000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:07 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:56:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 3000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Cart->__construct, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:07 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 5000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:22 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:56:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 3000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:22 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'woocommerce'
LIMIT 1000 OFFSET 5000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, wc_register_widgets, register_widget, WP_Widget_Factory->register, WC_Widget_Cart->__construct, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:50 UTC] PHP Warning: Illegal string offset 'expiration' in /home/a7t1uchrolda/public_html/test/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-transient.php on line 38
[28-Mar-2019 11:56:52 UTC] PHP Warning: mysqli_query(): (HY000/2013): Lost connection to MySQL server during query in /home/a7t1uchrolda/public_html/test/wp-includes/wp-db.php on line 2007
[28-Mar-2019 11:56:52 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'gravityforms'
LIMIT 1000 OFFSET 2000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, wp_widgets_init, do_action('widgets_init'), WP_Hook->do_action, WP_Hook->apply_filters, gf_register_widget, register_widget, WP_Widget_Factory->register, GFWidget->__construct, esc_html__, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve
[28-Mar-2019 11:56:52 UTC] WordPress database error Lost connection to MySQL server during query for query
SELECT
s.id,
st.status,
s.domain_name_context_md5 AS ctx ,
st.value AS translated,
st.mo_string AS mo_string,
s.value AS original,
s.gettext_context
FROM wp_icl_strings s
LEFT JOIN wp_icl_string_translations st
ON s.id=st.string_id
AND st.language='da'
AND s.language!='da'
WHERE s.context = 'default'
LIMIT 1000 OFFSET 6000 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), WP_Locale->__construct, WP_Locale->init, __, translate, apply_filters('gettext'), WP_Hook->apply_filters, icl_sw_filters_gettext, icl_translate, WPML_Register_String_Filter->translate_by_name_and_context, WPML_Displayed_String_Filter->get_translation, WPML_ST_DB_Cache->get_translation, WPML_ST_DB_Translation_Retrieve->get_translation, WPML_ST_DB_Translation_Retrieve->load, WPML_DB_Chunk->retrieve

March 28, 2019 at 3:15 pm #3482973

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I have tested all the plugins and the problem only happens when one or both of the two plugins are activated.

Can you tell me which are these plugins that don't work together? Does it happen when WPML is deactivated?

Also please check these threads?
https://wpml.org/forums/topic/lost-connection-to-mysql-server-during-query-2/#post-2979391
https://wpml.org/forums/topic/lost-connection-to-mysql-server-during-query-3/

Can you tell me if you reached your hosting company about this yet? Ask them if they can provide some information based on server logs, because it seems as if may point to database timeouts as well.

Regards,
Bruno Kos

March 28, 2019 at 3:22 pm #3483085

frederikJ-2

It does not happen when the two plugins are deactivated, WPML multi CMS, WPML CMS Nav, and WPML Translation manager is working fine, but everything stops working when one or both of the plugins are activated.

I haven´t contacted the hosting provider, because it works when your two plugins are deactivated, but i would imagine that the database timeouts, is because of the extreme high response time - i can wait for 10-30 mins before is tells me "update failed"

March 29, 2019 at 7:14 am #3488301

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can I ask you the following then? In order to debug this issue further quickly, I will install Duplicator plugin, will create packages and will try this on my localhost, simply to exclude possible server related issues.

https://wpml.org/faq/provide-supporters-copy-site/

Let me know if this is OK with you.

If yes, I will need WordPress admin username and password so I could do this. I have marked your next reply private so you can safely add this information.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Please make a full backup of your site before sharing this info!

Regards,
Bruno Kos

March 29, 2019 at 10:54 am #3490439

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I am unable to create a Duplicator package:
hidden link

This seems to be the reason:
hidden link
( Why is the package build stuck at 5% or Pending? )

Can you see and try these options or ask your host to assist with this? Let me know once you get there!

Regards,
Bruno Kos

March 29, 2019 at 12:35 pm #3491293

frederikJ-2

I have fixed it, the package is ready to be downloaded - go for it

March 30, 2019 at 11:00 am #3498001

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I've deployed the site on my localhost (latest XAMPP version). When I tried to update the post at first take, I got "Update failed" written in red messages. After this I activated and deactivated all the plugins on the site - WPML included and I can do anything now. See images - it all goes very quickly for me. Can you tell me what do I have to do to emulate the issue you're having?

Regards,
Bruno Kos

March 30, 2019 at 12:57 pm #3498429

frederikJ-2

Hey, i have recorded a video for you. It shows how everything runs smoothly with the addons deactivated, then when activated the site is extremely slow, has problems updating in Danish and then when deactivated again everything is working, fast and updating fine.

March 30, 2019 at 12:57 pm #3498479

frederikJ-2

hidden link

April 1, 2019 at 7:15 am #3504673

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

The same slowness started to happening in my localhost and all the errors point to the same thing as it s on your site - JSON errors. See this image - it seems as when you're trying to save a post, there are repeated JSON calls returning issues (because the backend looks quite fast and doesn't seem to be affected with this). Can you tell me if you created any JSON related functionality or custom app on your site that doesn't seem to work properly now? One thing that comes to my mind is that you are not using HTTPS on this test site and now all these links pointing to HTTPS return links not found errors (as you can see in the error log).

Open the console log when trying to save post and watch as these error logs start to generate.

This is why we are not picking up any particular error within debug.log that could give us a clue what is behind the scenes.

Regards,
Bruno Kos

April 1, 2019 at 11:39 am #3507315

frederikJ-2

We don´t have any JSON related functionality or custom app

But as everything works with the plugins deactivated, i can´t see how it could be HTTPS. Something in your plugins, makes the error happen, otherwise, it would be slow and not updating no matter if the plugins where active or not

April 1, 2019 at 2:06 pm #3508821

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

I've asked our 2nd tier about the opinion of this and will get back to you as soon as I will have more information.

Regards,
Bruno Kos

April 2, 2019 at 12:29 pm #3517127

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Can you please check this:
https://wpml.org/errata/uncaught-in-promise-syntaxerror-unexpected-token-in-json-at-position-0/

And try:

What described within Workaround – Editing the php.ini file?

On my localhost, I was able to save the page without console log errors.

Regards,
Bruno Kos

The topic ‘[Closed] Posts won't update and the loading time is ekstrem’ is closed to new replies.