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.

Our next available supporter will start replying to tickets in about 7.35 hours from now. Thank you for your understanding.

We have a longer than usual waiting time. Please make sure to check out the Known Issues page and Minimum Requirements before reporting any issue.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 0 replies, has 1 voice.

Last updated by terezaK-4 16 hours, 4 minutes ago.

Assisted by: Prosenjit Barman.

Author Posts
November 12, 2024 at 10:57 am #16392216

terezaK-4

Background of the issue:
I'm trying to solve an issue where I have more than 200,000 calls for wpml_registered_endpoints. My site uses only one language besides the main one (Czech). I use the AAA Optimizer Plugin, which logged these calls. I have the opportunity to create this option with the value false, but I can't tell how that will affect my site.

Symptoms:
Requested options that do not exist - wpml_registered_endpoints. There are more than 200,000 calls logged by the AAA Optimizer Plugin.

Questions:
Are these duplicate calls from WPML?
How will creating the option with value false affect my site?

November 12, 2024 at 11:36 am #16392407

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Reference to our recent chat, meanwhile this ticket is attended by one of my colleagues, please provide temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Regards.

November 14, 2024 at 4:51 am #16400668

Prosenjit Barman
Supporter

Languages: English (English )

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

Hello There!
Thanks for contacting WPML Support.

I reviewed the entire conversation you had with my colleague Waqas and understand the issue. The high number of requests to `wpml_registered_endpoints` typically occurs when something in WPML is misconfigured—meaning that certain settings cannot be validated by WPML.

When I checked our system, I found that the staging site was recently created from the main site and is currently reusing the site key from the main site. Please note that each WPML key is unique to a specific domain and setup. When a site uses a key intended for another domain or configuration, WPML may struggle to validate settings, which can cause repeated queries or reinitializations, potentially resulting in the high number of logged calls you’re seeing.

If the issue is occurring on the staging site, please create a new site key specifically for the staging environment in the "Registered Sites" section of your WPML.org account. Once you have the new key, follow these steps:

1. Log in to your staging site and navigate to "Plugins > Add New > Commercial".
2. Click "Unregister WPML from this site".
3. Once the previous key is removed, you’ll see a field to enter the new site key. Enter the new key and save the changes.

This will allow the site to use the new key, which should reduce requests to the WPML endpoint. We do not recommend setting the value to `false`, as WPML relies on several API endpoints to ensure the site receives updates and communicates properly with WPML’s servers.

After making these changes, please wait a little while and monitor the situation. If the issue persists, let me know, and I’ll be happy to take a closer look.

I attempted to access the backend, but I received a "Forbidden" error. If there are any restrictions in place, please let me know how to bypass them so I can access the backend and investigate further, if you continue to experience issues after following these steps.

Looking forward to your response.

Best regards,
Prosenjit

November 16, 2024 at 5:34 am #16410205

terezaK-4

Hello Prosenjit,

Thanks for oyur reply, and what about my other question regarding the site speed when Woocommerce and wpml is active?