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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 4 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 9 months ago.

Assisted by: Mohamed Sayed.

Author Posts
July 6, 2023 at 2:10 pm #13960915

temasT

Hello, I am getting an error while activating the OTGS plugin on our site, first I need to activate the WMPL string translation. But the site is not accessible when I enable the string converter. Can you please support?

July 6, 2023 at 6:06 pm #13962657

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

After installing the OTGS Installer plugin, you need to register the site then install and activate the core plugin "WPML Multilingual CMS" before installing String Translation.

Could you please check this guide and make sure that you're following the same steps? https://wpml.org/faq/install-wpml/#first-install

If the core plugin is already installed and the issue persists, kindly try the following:

1. Provide your debug information so that I can get a look at some of your configurations. You can find it in WPML > Support > click on “Debug information” link. Please check this link for more info: http://wpml.org/faq/provide-debug-information-faster-support/

2. Delete the String translation plugin then download a fresh copy from your account https://wpml.org/account/downloads/ and install it again from Plugins > Add New > Upload plugin

3. If the above step didn't help, Please provide us with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

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 which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

Let me know please how that goes.

Kind regards,
Mohamed

July 7, 2023 at 6:56 am #13964723

temasT

Hello, I deleted the WPML string converter, then I downloaded the OTGS zip file, but then the commercial tab does not appear, so I can't register it. I am sharing the debugging information with you.

We have installed WPML plugin before but I don't know which plugin we are using. WPML does not allow to download OTGS without enabling the string converter, when I do that the site crashes. We need your support with remote connection.

wpml3.PNG
wpml2.PNG
wpml1.PNG
July 7, 2023 at 7:29 am #13964929

temasT

The information from the hosting company is as follows; There is a bug I see, but I'm afraid you'll have to contact the plugin's support so they fall outside of our support scope to develop or fix bugs in plugins or themes.

Here is the error you can send them so they can check:
PHP Fatal error: Uncaught Error: Call to WP_Textdomain_Registry::reset() undefined method in /home/temastek/public_html/wp-content/plugins/wpml-string- translation/classes/MO/Hooks/LanguageSwitch.php:140
Stack trace:
#0 /home/temastek/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /home/temastek/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects()
#2 /home/temastek/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale()
#3 /home /temastek/public_html/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched()
#4 /home/temastek/public_html/wp-includes/class-wp -hook.php(332): WP_Hook->apply_filters()
#5 /home/temastek/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /home/tetas in /home/ tematek/public_html/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 140

July 8, 2023 at 4:22 pm #13971721

Mohamed Sayed

Hi,

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2. I would need to request temporary access (WP-Admin and FTP) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

Your next answer will be private, which means only you and I have access to it.

❌ Please backup your database and website before providing us with access details ❌

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

✙ I would also need your permission to take a local copy of your site to escalate the issue to our developers for further debugging if needed.

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks for your cooperation

The topic ‘[Closed] WPML String Translation’ is closed to new replies.