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.

This topic contains 3 replies, has 3 voices.

Last updated by Dražen 4 years, 8 months ago.

Assisted by: Dražen.

Author Posts
June 4, 2020 at 10:00 pm #6299075

maurizioM

In the frontend if I switch from the main language (ITA) to english the site doesn't work and after a while I see the message "Service Temporarily Unavailable".

After deactivating the plugin the site works.

After that, with a specific Administrator user the frontend is completely unavailable with a "503 Service Temporarily Unavailable".

June 6, 2020 at 1:07 pm #6311279

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

503 are usually server related errors, however you can try to enable the WordPress debug log. More Info: https://codex.wordpress.org/Debugging_in_WordPress

Edit wp-config.php and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Browse to the page with the issue and/or reproduce the issue.

Locate the debug log in: /wp-content/debug.log

Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.

June 7, 2020 at 4:12 pm #6315307

maurizioM

Hi Laura, thanks for the reply.

There are no messages in the debug.log file while on the server I have the following error messages:
AH01067: Failed to read FastCGI header, referer: hidden link
(104)Connection reset by peer: AH01075: Error dispatching request to : , referer: hidden link

The server is set up with PHP 7.3 and there is Nginx

June 8, 2020 at 6:52 am #6317709

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks for the reply, as Laura said 503 are usually server related errors.

I have searched the internet for the same causes and solutions, please check next:

If you see the error "Failed to read FastCGI header" in your error log, there are three most likely causes:

- A bug in the app's PHP code, such as a buggy WordPress plugin
- A bug in a PHP extension you've added to your server
- Your server running out of memory

AH01075 > To fix the issue increase the timeout. FastCGI limits can be increased for an affected domain only or on a server-wide level. If after increasing the FastCGI limits the same error appears, try to increase the value of the limits to 1200 seconds. If it does not help, review and optimize the website code.

Source:
- hidden link
- hidden link

1) I would advise checking with your hosting company if they can see any other related error in their server log and advise on this case.

2) Disable all other plugins and leave active only WPML plugins and WooCommerce. Switch to the WP default theme. Check if the issue still happens.

Please let me know how it goes and don't hesitate to ask if you find any problem along the way.

Regards,
Drazen