Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing a fatal error when saving an Elementor editing page, receiving multiple 'Commands out of sync' database errors and a PHP fatal error indicating memory exhaustion.
Solution:
The issue might be related to the 'open_basedir' restriction on the server, which limits the paths PHP can access, potentially affecting file operations required by Elementor and WPML. We recommend contacting your hosting provider to discuss modifying the 'open_basedir' settings or other server configurations that might be causing these errors.

Deleting all WordPress Revisions for this page fixed the issue.

If this solution does not resolve the issue or seems irrelevant due to updates or different configurations, please check our known issues page and ensure all themes and plugins are up to date. If problems persist, do not hesitate to open a new support ticket with us.

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.

Tagged: 

This topic contains 19 replies, has 3 voices.

Last updated by Osama Mersal 4 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 2, 2024 at 5:51 pm #15877479

walter-arielM

<b>Background of the issue: </b>
Error when saving an Elementor editing page.

<b>Symptoms: </b>
I get 207 Errors like these three below. Happens every time I save a Elementor page editor:

<b>Questions: </b>
What is causing the fatal error when saving the Elementor editing page?
How can I resolve the fatal error?
Below I posted some errors.

July 2, 2024 at 5:53 pm #15877502

walter-arielM

I get 207 Errors like these three below. Happens every time I save a Elementor page editor:

FIRST:

[Tue Jul 02 19:44:26.060007 2024] [proxy_fcgi:error] [pid 14584:tid 140251790984960] [client 83.44.220.188:32792] AH01071: Got error 'ow for query SELECT ID FROM wp_icl_string_packages WHERE post_id = 20939 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\AutoUpdate\\Hooks->afterRegisterAllStringsInShutdown, call_user_func, WPML_TM_Post_Actions->{closure}, WPML_TM_Action_Helper->create_translation_package, WPML_Element_Translation_Package->create_translation_package, apply_filters('wpml_tm_translation_job_data'), WP_Hook->apply_filters, WPML_TM_Page_Builders_Hooks->translation_job_data_filter, WPML_TM_Page_Builders->translation_job_data_filter, apply_filters('wpml_st_get_post_string_packages'), WP_Hook->apply_filters, WPML_Package_Helper->get_post_string_packagesPHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT rid\n\t\t\t\tFROM wp_icl_translation_status\n\t\t\t\tWHERE translation_id = 3503 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\AutoUpdate\\Hooks->afterRegisterAllStringsInShutdown, call_user_func, WPML_TM_Post_Actions->{closure}, TranslationManagement->update_translation_status, TranslationManagement->get_rid_from_translation_idPHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_translation_status` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\AutoUpdate\\Hooks->afterRegisterAllStringsInShutdown, call_user_func, WPML_TM_Post_Actions->{closure}, TranslationManagement->update_translation_statusPHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT batch_id\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t FROM wp_icl_translation_status\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t WHERE translation_id=3503 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\AutoUpdate\\Hooks->afterRegisterAllStringsInShutdown, call_user_func, WPML_TM_Post_Actions->{closure}, TranslationManagement->update_translation_status, do_action('wpml_updated_translation_status'), WP_Hook->do_action, WP_Hook->apply_filters, TranslationProxy_Batch::maybe_assign_generic_batchPHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT ID FROM wp_icl_string_packages WHERE post_id = 20939 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\AutoUpdate\\Hooks->afterRegisterAllStringsInShutdown, WPML\\PB\\AutoUpdate\\Hooks->resaveTranslations, WPML\\PB\\AutoUpdate\\Hooks->isPageBuilder, WPML\\PB\\AutoUpdate\\Hooks::getPackages, apply_filters('wpml_st_get_post_string_packages'), WP_Hook->apply_filters, WPML_Package_Helper->get_post_string_packagesPHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT id FROM wp_icl_string_packages WHERE post_id = 20939 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_TM_Word_Count_Refresh_Hooks->{closure}, WPML_TM_Word_Count_Single_Process->process, WPML_ST_String_Dependencies_Builder->from, WPML_ST_String_Dependencies_Builder->populate_node, WPML_ST_String_Dependencies_Records->get_child_ids_fromPHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT word_count FROM wp_icl_string_packages WHERE post_id = 20939 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_TM_Word_Count_Refresh_Hooks->{closure}, WPML_TM_Word_Count_Single_Process->process, WPML_TM_Word_Count_Set_Post->process, WPML_TM_Word_Count_Set_Post->calculate_in_lang, WPML_TM_Word_Calculator_Post_Object->count_words, WPML_TM_Word_Calculator_Post_Object->has_string_packages, WPML_TM_Word_Calculator_Post_Packages->count_words, WPML_TM_Word_Calculator_Post_Packages->get_package_counts, WPML_TM_Word_Count_Records->get_packages_word_counts, WPML_ST_Word_Count_Package_Records->get_word_countsPHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 135168 bytes) in /usr/home/t15/www/wp-content/plugins/sitepress-multilingual-cms/classes/words-count/processor/calculator/wpml-tm-word-calculator.php on line 30', referer: hidden link

SECOND:

[Tue Jul 02 19:44:26.027678 2024] [proxy_fcgi:error] [pid 14584:tid 140251790984960] [client 83.44.220.188:32792] AH01071: Got error 'ation->r...PHP message: WordPress database error Commands out of sync; you can't run this command now for query \n\t\t\tSELECT\n\t\t\t\twpml_translations.translation_id,\n\t\t\t\twpml_translations.element_id,\n\t\t\t\twpml_translations.language_code,\n\t\t\t\twpml_translations.source_language_code,\n\t\t\t\twpml_translations.trid,\n\t\t\t\twpml_translations.element_type\n\t\t\tFROM wp_icl_translations wpml_translations\n\t\t\t\n\t\t\t\tJOIN wp_posts p\n\t\t\t\t\tON wpml_translations.element_id = p.ID\n\t\t\t\t\t\tAND wpml_translations.element_type = CONCAT('post_', p.post_type)\n\t\t\n\t\tJOIN wp_icl_translations tridt\n\t\t\tON tridt.element_type = wpml_translations.element_type\n\t\t\t\tAND tridt.trid = wpml_translations.trid\n\t\tWHERE tridt.element_id IN(20939) made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_ar...PHP message: WordPress database error Commands out of sync; you can't run this command now for query \n\t\t\t\tSELECT trid, language_code, source_language_code\n\t\t\t\tFROM wp_icl_translations\n\t\t\t\tWHERE element_id=20939 AND element_type='post_page'\n\t\t\t\t made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->appl...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_strings` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings->reg...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_strings` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings->reg...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT * FROM wp_icl_string_packages WHERE kind_slug='elementor' AND name='20939' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_string_packages` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Stri...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT trid FROM wp_icl_translations WHERE element_id=0 AND element_type='package_elementor' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register...PHP message: WordPress database error Commands out of sync; you can't run this command now for query DELETE FROM wp_icl_translations\n\t\t\t\t\t WHERE element_type = 'package_elementor'\n\t\t\t\t AND element_id = 0 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPM

THIRD

[Tue Jul 02 19:44:26.027903 2024] [proxy_fcgi:error] [pid 14584:tid 140251790984960] [client 83.44.220.188:32792] AH01071: Got error 's_Integr...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT MAX(trid) FROM wp_icl_translations made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings->r...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_translations` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT trid FROM wp_icl_translations WHERE element_id=0 AND element_type='package_elementor' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register...PHP message: WordPress database error Commands out of sync; you can't run this command now for query DELETE FROM wp_icl_translations\n\t\t\t\t\t WHERE element_type = 'package_elementor'\n\t\t\t\t AND element_id = 0 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integr...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT MAX(trid) FROM wp_icl_translations made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings->r...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SHOW FULL COLUMNS FROM `wp_icl_translations` made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->register_pb_strings, WPML_Page_Builders_Register_Strings...PHP message: WordPress database error Commands out of sync; you can't run this command now for query SELECT id FROM wp_icl_strings WHERE context='elementor-20939' AND name='title-heading-215c9a6' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\\PB\\Shutdown\\Hooks->registerStrings, WPML_PB_Integration->register_all_strings_for_translation, WPML_PB_Integration->with_strategies, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Fns::__callStatic, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, array_map, WPML\\FP\\{closure}, call_user_func_array, WPML\\FP\\Fns::WPML\\FP\\{closure}, WPML\\FP\\Invoker\\_Invoker->__invoke, call_user_func_array, WPML_PB_API_Hooks_Strategy->register_strings, do_action('wpml_page_builder_register_strings'), WP_Hook->do_action, WP_Hook->apply_filters, WPML_Page_Builders_Integration->regist...PHP message: WordPress database error Commands out of sync; you can't run this command now for query \n\t\t\tSELECT\n\t\t\t\twpml_translations.translation_id,\n\t\t\t\twpml_translations.element_id,\n\t\t\t\twpml_translations.language_code,\n\t\t\t\twpml_translations.source_language_code,\n\t\t\t\twpml_translations.trid,\n\t\t\t\twpml_translations.element_type\n\t\t\tFROM wp_icl_translations wpml_translations\n\t\t\t\n\t\t\t\tJOIN wp_posts p\n\t\t\t\t\tON wpml_translations.element_id = p.ID\n\t\t\t\t\t\tAND wpml_translations.element_type = CONCAT('post_', p.post_type)\n\t\t\n\t\tJOIN wp_icl_translations tridt\n\t\t\tON tridt.element_type = wp

July 2, 2024 at 7:41 pm #15877854

Mateus Getulio
Supporter

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

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

Hello!

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

That error is a database + server issue, almost all the time it's because the database is missing the right configuration in the tables.

Please ask your hosting about this and ask them if they can check that all the tables have auto increment where "ID" elements exist but in general to check the database (logs) they might have in the server.

Thank you, please keep us posted.
Mateus

July 3, 2024 at 7:31 am #15881563

walter-arielM

Hello,

Do you mean all WMPL Tables? Like this one?: hidden link

Take in mind that this issue only happens when using Elemento editor page. I might be a compatibility issue.

July 3, 2024 at 8:31 am #15882324

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

Could you please check if the issue persists in a minimal environment by following these steps?

1- Deactivate all the plugins except WPML CMS, String Translation, Elementor, and Elementor Pro.
2- Switch for a moment to a WordPress default theme like Twenty Twenty-one.
3- Create a new test page and translate it.
4- Update the newly created page.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

July 3, 2024 at 9:22 am #15882758

walter-arielM

Hi there,

I did what you said and I found the plugin which was the cause of the issue.
I removed this plugin and now I only get one single error which seems to be related to WPML.

Can you tell me how to proceed? Error log below:

Error:

[Wed Jul 03 11:19:21.992333 2024] [proxy_fcgi:error] [pid 10315:tid 140251855767296] [client 83.44.220.188:33878] AH01071: Got error 'PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/t15:/home/t15:/tmp) in /usr/home/t15/www/wp-includes/l10n/class-wp-translation-controller.php on line 106', referer: hidden link

July 3, 2024 at 9:36 am #15882816

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Open_basedir is a restriction that prevents a hosting package user from accessing unauthorized paths on the server, such as the paths to other domains on shared web servers or to the hosting software.

The open_basedir function defines the locations or paths from which PHP is allowed to access files using functions like fopen() and gzopen(). PHP will refuse to open if a file is outside of the paths defined by open_basedir.

In order to fix this, please consult your host provider support.

Best regards,
Osama

July 4, 2024 at 8:02 am #15890047

walter-arielM

Hi,

My hosting provider told me that the problem is that WPML is trying to access the root of of the server. I mean outside the htmlpublic folder. There is nothing there related to the files of the site.

I found some people with similar issues: https://wpml.org/forums/topic/multiple-open_baserdir-warnings/

Please, let me know what you need to fix this issue.

Thanks.

July 4, 2024 at 8:38 am #15890322

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Would you please deactivate WPML CMS and check the error?

Best regards,
Osama

July 4, 2024 at 9:14 am #15890461

walter-arielM

Hello,

I can confirm to you that the error is related to WPML.

If I disable these plugins:

- WPML String Translation
- WPML Multilingual CMS
- WPML Media Translation

The error message is gone.

The problem is that WPML is trying to access the root of of the server. I mean outside the htmlpublic folder. There is nothing there related to the files of the site.

Error:

[Thu Jul 04 11:11:06.622407 2024] [proxy_fcgi:error] [pid 17715:tid 140091867379456] [client 83.44.220.188:38240] AH01071: Got error 'PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/t15:/home/t15:/tmp) in /usr/home/t15/www/wp-includes/l10n/class-wp-translation-controller.php on line 106', referer: hidden link

July 4, 2024 at 9:35 am #15890743

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your confirmation. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 4, 2024 at 10:14 am #15891073

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Would you please add the data to the private fields? If you don't see the form below, please don't add your credentials, as they will be publicly exposed٫ (hidden link)

Thanks,
Osama

July 4, 2024 at 12:51 pm #15891952

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I'll consult our second-tier support team about the issue and update you as soon as they reply.

Best regards,
Osama

July 7, 2024 at 8:34 am #15906676

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your patience. Our 2nd tier support team installed a local copy of your site, but the issue is not reproducible there.

We need your permission to check the issue on your staging site, which means we can install/activate/deactivate plugins and themes. We might also need to check the code and the database.

If this is okay with you, please let me know so our 2nd tier can continue debugging.

Best regards,
Osama

July 7, 2024 at 9:11 am #15906808

walter-arielM

Hello,

I created a clone of the site. You can do whatever you need to debug this issue. Can you please activate the private area to send you new credentials?

I found more information with this issue which can be useful for you.
The hosting has assigned 500M to memory_limit which is more than enough for this website.
When saving the elementor editor page I get a 500 Error. If I check the apache.file.log the error is related to exeded memory_limit.
If I disabled all WPML plugins the 500 Error is gone.

I already consulted to my hosting provider and they told me that WPML fires too many requests and that is cause of the HUGE memory usage.

Please take a look at this 1 minute video to see what I mean: hidden link