Skip to content Skip to sidebar

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 8 replies, has 0 voices.

Last updated by Bobby 1 day, 15 hours ago.

Assisted by: Bobby.

Author Posts
March 2, 2026 at 8:54 am #17863696

lovroI

Hello,

I installed WPML without any issues. However when I try to run automatic translation it's just loading and shows me errors. What could that be?

Best regards,
Matic

March 2, 2026 at 12:57 pm #17864638

Otto

Hello,

Thanks for the screenshot — the console shows two key problems:

  • A 500 error on your site’s WPML REST endpoint:
    /wp-json/wpml/v1/get_translate_for_items

    (server-side issue).

  • 404s loading WPML mini-app assets from
    ams.wpml.org

    (connectivity/caching/adblock/WAF issue).

Please try the following.

❌ Please make a full website backup before proceeding ❌

Solution A — Fix the REST API / 500 error (most important)

  • Please open this URL in a new browser tab (while logged in as an admin) and tell me what you see (valid JSON vs error):
    <em><u>hidden link</u></em>
  • Go to Settings → Permalinks and click Save Changes (no changes needed).
  • Temporarily disable any security/firewall features (Wordfence / Sucuri / iThemes / Cloudflare WAF / hosting WAF) and test again.
  • If you have access to server logs, check the PHP error log at the exact moment you reproduce the issue. A 500 usually means a PHP fatal error or a WAF/mod_security rule is blocking the request.

Solution B — Ensure WPML services are reachable (ams.wpml.org 404)

  • Go to WPML → Support → Installer Support and click Check now.
  • If anything fails, ask your hosting provider to allowlist these domains (outbound and not blocked by proxy/WAF):
    wpml.org

    ,

    cdn.wpml.org

    ,

    api.wpml.org

    ,

    api.toolset.com

    ,

    ams.wpml.org
  • If you use Cloudflare (or similar), temporarily test with it bypassed / disabled to see if the problem disappears.

Solution C — Rule out cache/minify/JS interference

  • Temporarily disable any optimization features that combine/minify JS/CSS (Autoptimize, WP Rocket, LiteSpeed optimizations, Cloudflare minify, etc.).
  • Test again in an incognito window with all extensions disabled (especially adblock/privacy extensions).
  • If it starts working, re-enable optimizations one by one and exclude WPML admin pages from JS minification/combining.

Minimal setup test (quick isolation)

❌ Please make a full website backup before proceeding ❌

  • Deactivate all plugins except WPML (WPML Multilingual CMS + required WPML addons only).
  • Switch temporarily to a default theme like Twenty Twenty-Four / Twenty Twenty-Five.
  • Try automatic translation again.

If it works in this minimal setup, we’ll re-enable plugins one-by-one to find the conflict. If it still fails, it strongly points to server/WAF/REST/connectivity.

Best Regards,
Otto

March 3, 2026 at 7:47 pm #17869986

lovroI

Hello,

I tried everything except for the last one. It all passed. Backups of the site are done every day. Can I give you access to the site and you can check on your end?

Best regards,
Matic

March 3, 2026 at 7:58 pm #17870011

lovroI

Could it be lightspped in cpanel causing issues?

image_2026-03-03_205824833.png
image_2026-03-03_205800417.png
March 3, 2026 at 8:27 pm #17870090

lovroI

Hello,

ok I managed to get it down to just this error. The problem is I don't have Lightspeed in my Cpanel enabled nor do I have a plugin for lightspeed in wordpress. What can I do?

image_2026-03-03_212725010.png
image_2026-03-03_212706067.png
image_2026-03-03_212645153.png
March 6, 2026 at 12:41 am #17876387

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Thank you for updating us and for your patience!

I have reviewed the JSON and it is responding OK, are you still experiencing this issue?

hidden link

please make sure to test in an incognito browser.

March 7, 2026 at 1:40 pm #17879356

lovroI

Yes, I'm still experiencing an issue.

image_2026-03-07_144008170.png
March 9, 2026 at 6:32 pm #17883108

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

April 7, 2026 at 6:20 pm #17955030

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

It looks like the issue is being triggered by a timeout on Maximum Execution.

Please increase the PHP Time Limit to 90 or 120 and let me know your results
hidden link

[07-Apr-2026 06:20:14 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/iskradent/public_html/wp-includes/class-wp-object-cache.php on line 145

[07-Apr-2026 08:09:52 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/iskradent/public_html/wp-includes/formatting.php on line 2707

[07-Apr-2026 09:04:07 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/iskradent/public_html/wp-includes/class-wp-hook.php on line 328

There is also another log related to PHPMailer.php however, let's tackle the php time limit first.

Let me know your results, please.

[07-Apr-2026 12:29:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/iskradent/public_html/wp-includes/PHPMailer/PHPMailer.php:892
Stack trace:
#0 /home/iskradent/public_html/wp-includes/PHPMailer/PHPMailer.php(2083): PHPMailer\PHPMailer\PHPMailer->mailPassthru()
#1 /home/iskradent/public_html/wp-includes/PHPMailer/PHPMailer.php(1800): PHPMailer\PHPMailer\PHPMailer->mailSend()
#2 /home/iskradent/public_html/wp-includes/PHPMailer/PHPMailer.php(1615): PHPMailer\PHPMailer\PHPMailer->postSend()
#3 /home/iskradent/public_html/wp-includes/pluggable.php(625): PHPMailer\PHPMailer\PHPMailer->send()
#4 /home/iskradent/public_html/wp-admin/includes/class-wp-automatic-updater.php(1543): wp_mail()
#5 /home/iskradent/public_html/wp-admin/includes/class-wp-automatic-updater.php(1220): WP_Automatic_Updater->send_plugin_theme_email()
#6 /home/iskradent/public_html/wp-admin/includes/class-wp-automatic-updater.php(773): WP_Automatic_Updater->after_plugin_theme_update()
#7 /home/iskradent/public_html/wp-includes/update.php(890): WP_Automatic_Updater->run()
#8 /home/iskradent/public_html/wp-includes/class-wp-hook.php(341): wp_maybe_auto_update()
#9 /home/iskradent/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#10 /home/iskradent/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()
#11 /home/iskradent/public_html/wp-includes/update.php(337): do_action()
#12 /home/iskradent/public_html/wp-includes/class-wp-hook.php(341): wp_version_check()
#13 /home/iskradent/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#14 /home/iskradent/public_html/wp-includes/plugin.php(570): WP_Hook->do_action()
#15 /home/iskradent/public_html/wp-cron.php(191): do_action_ref_array()
#16 {main}
thrown in /home/iskradent/public_html/wp-includes/PHPMailer/PHPMailer.php on line 892

The topic ‘[Closed] Auto translate failed to load resource’ is closed to new replies.