Loco Translate Error Message

Hello,

I’m using Loco Translate to translate strings in Woocommerce. Unfortunately, it won’t let me save the changes. I receive the following error message: Error: Blank response from server. Check console output for debugging information.

Can you help me sort out the error?

Thank you!

Hello K_Nashi,

Thanks for writing in! Could you please update to the latest versions? Most of the time, out dated WordPress, theme and plugins will create issues in your site. Our latest versions is Pro theme 2.4.3

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

_After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.-

Please let us know how it goes.

Thank you @RueNel.

I updated my theme and plugins, but am still getting the same error message.

Can you assist further?

Thank you!

Hi @kshibata,

May I know which strings you’re translating? I like to check which textdomain it belongs to. If it’s Woocommerce text domain then it’s probably a conflict between Woocommerce and your translation plugin, I recommend contacting both authors.

If it belongs to theme textdomain coming from custom templates, then I’ll check it first what’s going on.

Thanks!

Hi @Rad,

Thank you for your reply.

For example, I’m trying to translate the following:
Billing details —> 請求先情報の詳細

Thank you again for your assistance.

Hello @kshibata,

I have logged in and investigated your issue. Upon saving the Loco Translation, I encountered the same error message and hen I checked the console, I got this:

POST https://...../wp-admin/admin-ajax.php net::ERR_CONNECTION_CLOSED

In most case, your hosting provider may have a security rule that was limiting the access to admin-ajax.php. Some security or firewall software on the server (like mod_security) is configured too strictly. For example, it might not like that there are so many URLs in the HTTP request to save the table, and it might (erroneously) think that this is a spamming attack. Then, it blocks the save request and returns the error.

To fix this, you will have to contact your hosting provider. They should be able to find out more about this error in their server log files. Then, they can relax the configuration of the software.

Please let us know how it goes.

Thank you.

I checked with my hosting provider and there doesn’t seem to be an issue with the mod security. I’m still trying to sort it out…

Do you have any other thoughts on how to solve this issue? Your time is greatly appreciated.

Hello @KShibata,

Do you have any other site that is using a different hosting? I would recommend that you create a staging site so that we can compare your live site and the staging site. This is is also very useful because we can test drive any X updates in the staging area, do the customizations and troubleshooting without disrupting your live site.

To know how to create a staging area, please check out these articles:


Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.