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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Tagged: 

This topic contains 24 replies, has 2 voices.

Last updated by Bigul 1 month, 1 week ago.

Assisted by: Bigul.

Author Posts
September 9, 2024 at 9:10 am #16154710

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the details. The issue is existing after the initial testing on your site. It shows the following warning in a minimal setup.

You are using an invalid site key defined as the constant OTGS_INSTALLER_SITE_KEY_WPML (most likely in wp-config.php). Please remove it or use the correct value in order to be able to register correctly.

I have one question: In which file do you add the *OTGS_INSTALLER_SITE_KEY_WPML* code? It does not appear in the wp-config.php file or functions.php of your theme.

--
Thanks!

Bigul

September 9, 2024 at 5:08 pm #16158113

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the details. I have shared the details with our team for an expert opinion. We will get back to you as early as possible. Please wait.

--
Thanks!

Bigul

September 11, 2024 at 10:09 am #16165732

Bigul
Supporter

Languages: English (English )

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

Hello,

We are still working on this. Just to make sure, please visit https://wpml.org/account/sites/ and make sure you are registered for the staging with
hidden link URL or hidden link URL.

Because the site admin URL is hidden link and hidden link is showing the following error now.

This page isn't working

*****.site redirected you too many times.

Try deleting your cookies.

ERR_TOO_MANY_REDIRECTS

--
Thanks!

Bigul

September 11, 2024 at 2:09 pm #16166865

edA

We are registered under the hidden link domain. Are you trying to say we need to be registered under the hidden link domain?

I'm still able to access the back end of the site through hidden link as I still am logged in, but I can confirm I am also seeing the ERR_TOO_MANY_REDIRECTS on the front page of the site. We haven't made any changes to the site. We also don't see any code changes that might have caused this issue (we noticed the addition of duplicator and twentytwentyfour and not much else). Using my backend access to the site and the Site Health Troubleshooting tool I can confirm that enabling sitepress-multilingual-cms (WPML) is what is causing the redirect issue.

Since it's not a code change, I'm assuming there was a database change that caused this redirect issue. Would you like us to "reset" the staging site by pulling a working copy of the database into it and recreating the test admin account? Or do you know the cause of the issue and can move ahead?

September 11, 2024 at 4:47 pm #16167644

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the details. One doubt. How are you managing the Dashboard URL as hidden link instead of hidden link

Also, are you using the same structure for your live site?

--
Thanks!

Bigul

September 11, 2024 at 5:26 pm #16167760

edA

We are using that same structure with our live site. It's the same structure through all of the sites we're currently using with WPML. It's a side effect of being on the Roots Bedrock architecture; that's just where the WordPress folders and files are in the filesystem.

September 11, 2024 at 5:41 pm #16167774

edA

Per the https://wpml.org/forums/topic/translation-of-the-strings-are-not-showing-in-the-frontend/ ticket the site at hidden link has had the database copied down from production and the test account already listed on this ticket recreated.

September 12, 2024 at 7:05 am #16169152

Bigul
Supporter

Languages: English (English )

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

Hello,

Thank you for the updates. I have shared it with our team. We will get back to you soon. Please wait.

--
Thanks!

Bigul

September 13, 2024 at 4:03 pm #16176812

Bigul
Supporter

Languages: English (English )

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

Hello,

The ticket is escalated to our second-tier team for detailed debugging. We will get back to you as soon as possible. Please wait.

--
Thanks!

Bigul

October 7, 2024 at 4:07 pm #16262864

Bigul
Supporter

Languages: English (English )

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

Hello,

Sorry for the late response. We were looking for a possible workaround for this. Unfortunately, we are unable to reproduce the issue exactly on our testing servers and sites.

While checking through SFTP we see that there are 3 environments and 3 keys defined in your setup. Normally, this shouldn’t cause any issues. However, if the data is cached (such as in deep op cache or object cache), it’s possible that this could lead to some misinterpretation. Maybe it will be a conflict with Bedrock architecture also.

Therefore please check it and let us know your feedback.

--
Thanks!

Bigul