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 11 replies, has 2 voices.
Last updated by Osama Mersal 1 year, 6 months ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
October 30, 2023 at 12:01 am #14687447 | |
freshoP |
I am trying to: Update pages in WordPress Elementor Link to a page where the issue can be seen: hidden link I expected to see: Page updated Instead, I got: Server error 502: Bad Gateway I have confirmed that this only occurs with Elementor when WPML is enabled. Some pages can save fine, but others encounter this issue. When clicking "Update" in Elementor the saving process will time out waiting for response from admin-ajax.php. I have tried increasing our WordPress memory limit to 512mb and this hasn't resolved the issue. This appears to be the same issue as reported here: https://wpml.org/forums/topic/elementor-502-error-when-wpml-enabled/ however none of the suggested resolutions worked for us. In particular I tried the suggestion of adding an index to the wp_postmeta table, and this didn't help ("ALTER TABLE `wp_postmeta`ADD INDEX `meta_value` (`meta_value`(191));"). The WPML plugins I am using are: Could you please assist? Thanks, |
October 30, 2023 at 9:44 am #14689709 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for contacting 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. If the issue is gone, activate them one by one to see which one there is causing an interaction issue. ❌ Please backup your database before performing the above test ❌ Best regards, |
October 30, 2023 at 11:17 pm #14695713 | |
freshoP |
Hi Osama, Thanks for assisting. I have disabled all plugins except for the following: I have tested an affected page and the issue is still occurring. Can you please advise next steps? Thanks, |
October 30, 2023 at 11:25 pm #14695721 | |
freshoP |
I might add the following. I disabled WPML String Translation and the issue still persisted. I then disabled WPML Multilingual CMS and the issue did not occur. |
October 31, 2023 at 2:12 am #14696131 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi C.J, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Your next answer will be private, which means only you and I can access it. ❌ Please backup your database and website ❌ ✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason 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, |
October 31, 2023 at 3:03 am #14696249 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, Thanks for the access details. I checked the page you mentioned, and it seems to work correctly. (hidden link) If this is not the problematic page, please share the page's URL with me. Thanks, |
October 31, 2023 at 3:11 am #14696253 | |
freshoP |
Hi, Yes I just checked and that page (which was previously exhibiting the issue) now works fine for me too! However I just tried updating this page (hidden link) and encountered the problem again. Thanks, |
October 31, 2023 at 3:15 am #14696315 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi C.J, Please edit the page in the WordPress editor, click "Translate Independantly", and update the page. After that, please try to edit it using Elementor and let me know if it works correctly. Best regards, |
October 31, 2023 at 3:22 am #14696347 | |
freshoP |
Hi, I followed those steps and it has resolved the issue for that page! Currently we have all our languages set up as a duplicate of the content from our base language ("International"). How is this affected by clicking "Translate Independently"? IS the link between the base content and the duplicated languages now broken? Our objective is just to update the content in the "International" pages / posts / templates, and for WPML to automatically duplicate it to the other languages. Thanks, |
October 31, 2023 at 3:29 am #14696367 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, It seems that the duplication process is corrupted. I suggest clicking this button on all your pages/posts in the International language (Default language). After that, make the edits you need and duplicate them in bulk via WPML-> Translation Management. Best regards, |
October 31, 2023 at 3:34 am #14696379 | |
freshoP |
Ok, thanks. Is there any way to prevent it being corrupted? Are you able to submit a bug report about this so it will hopefully be fixed in a future update? Thanks, |
October 31, 2023 at 3:36 am #14696381 | |
Osama Mersal WPML Supporter since 02/2020
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+03:00) |
Hi, I tested the function in a sandbox site, and it worked as expected. This issue could ba an exception on your site/DB. Please create a new test page in the default language and duplicate it to other languages to check if the function will work correctly. Best regards, |
October 31, 2023 at 3:53 am #14696389 | |
freshoP |
Thank you for all your help, much appreciated. I will do some further testing as you suggest. |