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 9 replies, has 2 voices.

Last updated by Laura 2 months, 2 weeks ago.

Assigned support staff: Laura.

Author Posts
July 24, 2019 at 8:17 am #4271341

marcoI-5

Hello,

I have two problems with Wpml.

The first is that I set the translation of various strings with the "Translations string" editor (see screen 2) but when I open the page the translation does not appear (see screen 3)
Why?
But this I noticed that only happens with the English side.

Second problem:
We have a multilingual site that we manage with Wpml for content translations.
The main site is in Italian and the other languages ​​are English, French and Spanish.
The theme of the 4 site is kallyas and we work on wordpress.

Now I have the problem that when we want to modify the content of a page in language (eg in English) I open the editor zion builder but the page does not open and I get the error "http 500" (see screen 1).
Why?

This happens with all languages ​​except the main one (ie Italian)

July 24, 2019 at 11:49 am #4274195

marcoI-5

Hello,

the first problem was solved, but the second was not.
If you see the error log file this is:

[Wed Jul 24 08:28:52.865891 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp_options WHERE option_name = 'regex_html_post_process' LIMIT 1 /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [N/A] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_ob_end_flush_all, ob_end_flush, WpeCommon->filter_html_output, WpeCommon->get_regex_html_post_process, get_site_option, get_network_option, get_option, referer: hidden link
[Wed Jul 24 08:28:52.867771 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp_options WHERE option_name = '_wpml_transient__wpml_st_file_scan_in_progress' LIMIT 1 /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [/nas/content/live/lasitspa/wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-transient.php:35] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_Translations_File_Scan_Hooks->import_translations_files, WPML_ST_Translations_File_Queue->is_locked, WPML_Transient->get, get_option, referer: hidden link
[Wed Jul 24 08:28:52.868508 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query SELECT id FROM wp_icl_string_urls WHERE language='en' and url='/' /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [/nas/content/live/lasitspa/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php:178] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_DB_Cache->shutdown, WPML_ST_Page_Translations_Cached_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->fetch_or_create_url_id, referer: hidden link
[Wed Jul 24 08:28:52.868707 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query INSERT IGNORE INTO wp_icl_string_urls (`language`, `url`) VALUES ('en', '/') /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [/nas/content/live/lasitspa/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php:193] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_DB_Cache->shutdown, WPML_ST_Page_Translations_Cached_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->fetch_or_create_url_id, referer: hidden link
[Wed Jul 24 08:28:52.869015 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query INSERT IGNORE INTO wp_icl_string_pages (`string_id`, `url_id`) VALUES (6229, 0),(6230, 0),(6233, 0),(6234, 0),(62162, 0),(7824252, 0),(6334112, 0),(6334113, 0),(6089946, 0),(6931858, 0),(61282, 0),(61283, 0),(41250, 0),(1861932, 0),(1861933, 0),(1861934, 0),(1861935, 0),(1861936, 0),(1861937, 0),(1861938, 0),(363694, 0),(363695, 0),(363696, 0),(363697, 0),(363698, 0),(167276, 0),(167277, 0),(229833, 0),(229834, 0),(229819, 0),(229791, 0),(229815, 0),(229789, 0),(229800, 0),(229840, 0),(229841, 0),(229830, 0),(229790, 0),(229797, 0),(229818, 0),(229828, 0),(229817, 0),(229816, 0),(229820, 0),(229821, 0),(2856436, 0),(354911, 0),(4476154, 0),(517620, 0),(41252, 0),(6090152, 0),(6090153, 0),(6090154, 0),(356231, 0),(355026, 0),(5241765, 0),(355337, 0),(1095035, 0),(1119824, 0),(4479324, 0),(1375744, 0),(2341189, 0),(4479334, 0),(4479328, 0),(4479336, 0),(5240845, 0),(4479327, 0),(4532114, 0),(4532115, 0),(356234, 0),(355403, 0),(355235, 0),(355435, 0),(355145, 0),(806748, 0),(8261873, 0),(5302155, 0),(5302157, 0),(5302154, 0),(5302156, 0),(4479331, 0),(886300, 0),(1379269, 0),(62842, 0),(62843, 0),(62844, 0),(62845, 0),(62846, 0),(15349, 0),(15350, 0),(43504, 0),(15353, 0),(15354, 0),(15355, 0),(15356, 0),(15357, 0),(78231, 0),(15359, 0),(15360, 0),(15361, 0),(14747, 0),(14759, 0),(14780, 0),(14761, 0),(14760, 0),(20263, 0),(6867343, 0),(15368, 0),(15369, 0),(20294, 0),(20295, 0),(20296, 0),(20365, 0),(20366, 0),(20367, 0),(20368, 0),(11965, 0) /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [/nas/content/live/lasitspa/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php:163] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_DB_Cache->shutdown, WPML_ST_Page_Translations_Cached_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->store_new_translations, referer: hidden link
[Wed Jul 24 08:28:52.869221 2019] [php7:notice] [pid 12974] [client 194.243.83.174:31578] WordPress database error Commands out of sync; you can't run this command now for query \n\t\t\t\t\tSELECT DISTINCT \n\t\t\t\t\t\ts.id,\n\t\t\t\t\t\ts.name,\n\t\t\t\t\t\ts.context,\n\t\t\t\t\t\tst.status,\n\t\t\t\t\t\ts.gettext_context, \n\t\t\t\t\t\tst.value AS tra,\n\t\t\t\t\t\tst.mo_string AS mo_string,\n\t\t\t\t\t\ts.value AS orig\n\t\t\t\t\tFROM wp_icl_string_pages sp\n\t\t\t\t\tINNER JOIN wp_icl_string_urls su\n\t\t\t\t\t\tON su.id = sp.url_id\n\t\t\t\t\tINNER JOIN wp_icl_strings s\n\t\t\t\t\t\tON s.id = sp.string_id\n\t\t\t\t\tLEFT JOIN wp_icl_string_translations st\n\t\t\t\t\t\tON s.id=st.string_id\n\t\t\t\t\t\t\tAND st.language=su.language\n\t\t\t\t\t\t\tAND s.language!=su.language\n\t\t\t\t\tWHERE (su.language='en' and su.url='/')\n\t\t\t\t\t /* From [www.lasitlaser.com/?_ga=2.128193481.459945319.1563951657-1932992379.1563951657&_gac=1.259074936.1563955233.CjwKCAjwg-DpBRBbEiwAEV1_-Lip-dmUZvHJWKfNNELh65mWDfq3ss3lffnQVYd_vF9F_3IT5XQswxoCcVAQAvD_BwE] in [/nas/content/live/lasitspa/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/persist/class-wpml-st-page-translations-persist.php:77] */ made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WPML_ST_DB_Cache->shutdown, WPML_ST_Page_Translations_Cached_Persist->store_new_translations, WPML_ST_Page_Translations_Persist->get_translations_for_page, referer: hidden link

July 24, 2019 at 12:04 pm #4274271

marcoI-5

Hello,

I uninstalled this plugin "WPML Translation Management" and now everything seems to work.
Can I understand what this plugin is for?

Only these 2 (WPML String Translation and WPML Multilingual CMS) remained active and everything works.

set so is it okay?
or is that plugin essential?

I would like to understand

July 25, 2019 at 6:33 am #4279553

Laura
Supporter

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

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

Ciao,

la funzione primaria di Translation Management è la gestione delle traduzioni per i traduttori (puoi vederlo dal pannello WPML > Gestione Traduzioni) ma è necessario per tradurre Elementor, Slider Revolution (insomma tutti i plugin) e per utilizzare il Translation Editor, altrimenti hai solo traduzioni manuali.

Visto che usi Zion builder e che questo non supporta il Translation Editor ma solo la traduzione manuale potrebbe anche essere una soluzione disinstallare Translation Management, ma comunque dovremmo cercare di capire da dove vengono questi errrori, perché se c'è un problema di corruzione del database per esempio non è detto che non creino errori in futuro anche per il core.

Faccio delle indagini e ti aggiorno.

July 25, 2019 at 6:59 am #4279639

marcoI-5

ok perfetto.

grazie, attendo tue allora.

July 26, 2019 at 8:31 am #4288363

Laura
Supporter

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

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

Ciao,

puoi provare ad andare in WPML > Impostazioni > Risoluzione dei problemi e provare a cliccare il pulsante "Recreate String Translation cache tables" (è l'ultimo pulsante nella sezione "Pulizia")

July 29, 2019 at 6:27 am #4297147

marcoI-5

Ciao,

ho eseguito questa operazione.

Ora cosa devo verificare se tutto è ok?

July 29, 2019 at 10:56 am #4298905

Laura
Supporter

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

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

Ciao,

prova ad aprire una pagina con Zion builder e vedi se c'è ancora l'errore 500.

July 29, 2019 at 10:59 am #4298919

marcoI-5

No quell'errore non c'è più, ma questo già anche prima.
Inoltre disattivando il plugin che ti dicevo sono scomparsi anche tutti gli errori di Log che ti ho mostrato.

July 29, 2019 at 12:37 pm #4299641

Laura
Supporter

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

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

Non ho capito, stai utilizzando Translation Management oppure no? Se no, attivalo e verifica se gli errori che riscontravi in precedenza persistono ancora.

The topic ‘[Closed] WPML don't work – Translate’ is closed to new replies.