Skip Navigation

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 5 replies, has 3 voices.

Last updated by Prosenjit Barman 1 year, 3 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 10, 2023 at 10:42 pm #14185285

victorN-3

Tell us what you are trying to do? Build my site.

Is there any documentation that you are following? No.

Is there a similar example that we can see? Don't know

What is the link to your site? hidden link

August 11, 2023 at 9:11 am #14187143

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue. A couple of requests for tracking this.

1) Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to these pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

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.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

2) Also, let us know the exact steps to reproduce the issue on your site

--
Thanks!

Bigul

August 14, 2023 at 8:32 pm #14199841

victorN-3

Hi, i did the steps you asked and waited for the error to repeat t self.

Here is the link for the log as requested.

https://pastebin.com/7QwBVbLz

Password for the file is [Hidden]

Please hide this password.

August 15, 2023 at 4:25 am #14200839

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the details. The debug log is not showing any errors or warning related to WPML.

So please check you are getting any error 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.

Also, please upgrade to the latest version of WPML(4.6.5) version after a full site backup{mandatory} and make sure the issue is existing or not. May you have to visit Plugins>>Add New>>Commerical tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version.

--
Thanks!

Bigul

August 19, 2023 at 4:16 pm #14256757

victorN-3

I have updates to the latest version but still i am getting 502 very frequently.

When i disable WPML i don't get the errors. for me its pretty clear where it is coming from.

Can you please check what is going on?

Kind Regards,

Victor

August 21, 2023 at 5:40 am #14259687

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Victor,

I hope you're doing well. As Bigul is on vacation, I've taken this ticket and will try my best to assist you on this matter.

Could you please indicate the exact page where you noticed the 502 error? Additionally, if you can share any specific actions that lead to this error, it would be immensely helpful. As more information you can provide regarding the problem, the better equipped I will be to provide an optimal solution. I hope you can understand.

I also noticed that you're using multiple optimization plugins on your site. Sometimes they consume a good amount of resources from the server which can lead to server-side errors(Error related to 50X). Would you kindly check by clearing the caches from the optimization plugin or possibly, keep them disabled for some time?

Please let me know the update. I will be happy to help if you need further assistance on this matter.

Best regards,
Prosenjit

August 22, 2023 at 12:49 pm #14271275

victorN-3

Dear Prosenjit,

thank you for your support, after many hours of i found the issue.

It was combination of 2 plugins that clashed with each other. The moment they were active with WPML i got the 502. together thise 2 work without an issue adding wpml to the mix i get the 502. Each one of those plugins when active with wpml alone is fine but together they cause the issue.

plugins are: SiteOrigin CSS and WooCommerce Restaurant Ordering

Thank you for your kind support.