This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing a 502 error when trying to update a product through the admin and save the changes by clicking the update button. This issue was not occurring with every product, only some of them. The problem was found to occur when WPML Multilingual CMS was active. Solution: We ran the WPML troubleshooting options, which resolved the issue. We recommend the client to edit the product again to check if it works correctly. For further guidance on WPML troubleshooting options, please refer to our guide: WPML Troubleshooting Options.
If the solution provided here is not relevant to your case, either because it's outdated or it doesn't apply to your situation, we suggest opening a new support ticket. We also highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us through the WPML support forum.
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.
Thanks for contacting WPML forums support. I'll be glad to help you today.
Following these steps, please check if the issue persists in a minimal environment.
1- Deactivate all the plugins except WPML CMS, String Translation, WooCommerce, and WooCommerce Multilingual.
2- Switch to a WordPress default theme like Twenty Twenty-one.
3- Share a screen-recorded video while reproducing the issue.
❌ Please backup your database before performing the above test ❌
First of all we have to inform you that we follow the steps above in a subdomain that we cloned the main site so we don't need to restore the data if any was missing after these steps.
Thanks for the video. 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.
Please check the access details because I got the following error. (Error: Username *** is not registered with this site. If you're not sure about your username, try your email address.)
Also, please share an example of the problematic products.