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: Exception
This topic contains 5 replies, has 2 voices.
Last updated by Bigul 1 year, 11 months ago.
Assisted by: Bigul.
Author | Posts |
---|---|
May 4, 2023 at 12:42 pm #13586543 | |
nicholasK-6 |
I am trying to: simply edit my WP site Link to a page where the issue can be seen: not available since this is happening in editing mode I expected to see: not have 502 Bad Gateway errors on such a small and lightweight website Instead, I got: frequent 502 bad gateway errors, and occasional 503 (but rare) See image attached: i can send in text format. |
May 4, 2023 at 3:46 pm #13588397 | |
Bigul WPML Supporter since 01/2013
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. Please try the following steps after a full site backup{mandatory} and check whether the bug is existing or not. 1) Upgrade to the latest version of Elementor plugins 2) Increase *WP Memory Limit* to *256*(the minimum required memory limit for WPML is *128*). Please check the following links for more details https://wpml.org/home/minimum-requirements/ https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php 3) Increase the *MaxInputVars* of PHP settings to *10000*. Please check the following article for more details and contact your system admin/hosting provider for upgrading this configuration. hidden link 4) Visit Settings>>Permalinks and resave the settings -- Bigul |
May 11, 2023 at 11:36 am #13629945 | |
nicholasK-6 |
Hi Bigul, Thanks for your input. We have tried your suggestions and apparently things seem to be rolling smoother. I haven't been editing the site much since my initial post so still hard to tell but will be editing today. WP memory limit was already at 2000MB. Will report back soon. |
May 11, 2023 at 4:01 pm #13631857 | |
Bigul WPML Supporter since 01/2013
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hi Nicholas, Thank you for the updates. Take your time. We will wait for your feedback. -- Bigul |
May 12, 2023 at 2:55 pm #13638247 | |
nicholasK-6 |
Hi Bigul, Yesterday i did run into another 502 Bad Gateway error once. This happened while I was in Elementor. I clicked on the button "Edit With Elementor" and while this was still loading i clicked on something else... boom, 502! I know I was kinda asking for trouble but wanted to test it. Today I deactivated WPML, asked my colleague to login with her credentials so there were two active users simultaneously. I was pushing WP pretty hard and although i did get one 502 my colleague did not and continued editing. After activating the WPML plugin again we haven't had a 502 error yet. Lets see how it goes. Now, I do have another issue: kilford.pt > goes to portuguese version / hidden link > goes to portuguese version ✅ kilford.eu > goes to english version / hidden link > goes to portuguese version ❌ kilford.es > goes to english version / hidden link > goes to portuguese version ❌ Can't figure out how to get around this. Hope you can help. Nicholas New threads created by Bigul and linked to this one are listed below: https://wpml.org/forums/topic/multiple-domains-per-language-configuration/ |
May 14, 2023 at 2:47 pm #13643475 | |
Bigul WPML Supporter since 01/2013
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hi Nicholas, Thank you for the details. If the issue exists even without the WPML plugin, then a 502 bad gateway error is happening because of some other plugin or a configuration conflict. So please enable the WordPress Debug mode. To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to: // Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file. Also please check if you are getting any errors related to WPML in the server error log while having this bug. May you need your hosting team's support to access the server error log file. Please note, I have opened a new ticket for the Multiple domains per language configuration issues. Because as per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Thank you for your understanding. -- Bigul |