Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is on a pay-as-you-go credit plan and attempted to add credit for automatic translation, but received a message indicating no credits available and an infinite spinner when trying to fix the issue.
Solution:
We recommend creating a backup of your site first. Then, deactivate all plugins except WPML and switch to a standard theme temporarily. This step helps in determining if there's a CSS/JS conflict preventing the pop-up from appearing correctly. If the 'fix' button still does not work, it might be due to a safe limit being hit which isn't visible due to the pop-up not appearing.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, you can open a new support ticket for further assistance at WPML support forum.

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.

Tagged: ,

This topic contains 14 replies, has 0 voices.

Last updated by danielO-20 1 week, 6 days ago.

Assisted by: Marcel.

Author Posts
June 2, 2025 at 2:53 pm #17098489

danielO-20

Background of the issue:
I am on a pay-as-you-go credit plan and attempted to add credit for automatic translation, but the system indicates that I have no credits available.

Symptoms:
I received the message: 'Out of Credits for Automatic Translation. Translation not running... There is an issue that needs your attention. Fix it to continue.' When I click on 'Fix it', I get stuck in an infinite spinner.

Questions:
Why am I receiving an 'Out of Credits for Automatic Translation' message?
How can I resolve the infinite spinner issue when clicking 'Fix it'?

June 2, 2025 at 4:34 pm #17098772

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

I was not receiving a reply in chat so I moved the chat into a forum ticket for follow up. Can you please perform the following steps to isolate the cause of the issue:

1. Take a backup of your site first for safety reasons.
2. Deactivate all plugins except WPML and its add-ons.
3. Switch to the default WP theme like 2025.
4. Try to press the Fix not button again from WPML >> Translation Management page.
5. If the issue is gone, reactivate each plugin one by one to identify the one causing the issue.

Kindly let me know the results,
Thank you for your cooperation

June 3, 2025 at 1:10 pm #17102427

danielO-20

I did what you suggest but I am still having the same issue even with all the plugins desacivated

June 4, 2025 at 9:18 am #17105511

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Thanks for trying the above steps. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Additionally, I’d need your permission to take a copy of your site using Duplicator or All in one migration plugin to escalate it to our 2nd tier support, if needed.

Thank you for your cooperation

June 5, 2025 at 4:59 pm #17111538

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Thank you for sharing the login URL. It seems the link is no longer working. Could you kindly provide the login details again and keep it active until we resolve the issue?

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

Thank you for your cooperation and patience

June 5, 2025 at 5:35 pm #17111639

danielO-20

URL for the access should work again now

June 9, 2025 at 9:40 am #17117758

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I'm Marcel, and I'll be taking over your support ticket.

The button isn't working due to a security restriction in place—specifically, a Content Security Policy (CSP) that is blocking external script requests. Here's the error message being triggered:

Refused to load the script 'hidden link' because it violates the following Content Security Policy directive: "script-src 'self' hidden link hidden link hidden link hidden link hidden link hidden link hidden link hidden link 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

If you haven’t configured the CSP settings yourself, I recommend reaching out to your hosting provider—they should be able to help you adjust the policy to allow the required script.

Best regards,
Marcel

June 9, 2025 at 10:33 am #17118014

danielO-20

We have added an exception to allow hidden link to the Content Security Policy (CSP), but the issue persists. please advice

June 9, 2025 at 5:17 pm #17119208

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

The console error is gone now. I tested translating a private page titled "test" containing just one word, and it worked correctly using prepaid credits.

I’ve also re-enabled the automatic translation via the toggle in Translation Management, and everything appears to be functioning as expected—jobs are being fetched properly. I’ve manually stopped the process for now in case you want to exclude any content.

Pay-as-You-Go is active and counting, so as soon as the toggle is enabled again, translations start working.

Best regards,
Marcel

June 10, 2025 at 11:49 am #17121765

danielO-20

How can we ensure that Spanish, English, and Russian are never automatically translated?

June 10, 2025 at 3:38 pm #17122725

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

Automatic translation is always activated for all languages on your installation. If you don't want that, you can deactivate the toggle and send pages manually via Translation Management.

Best regards,
Marcel

June 10, 2025 at 5:12 pm #17123091

danielO-20

URGENT - the blog is down are you doing anything?

June 10, 2025 at 5:21 pm #17123103

danielO-20

Now it back to normal - about our translatin issue is still there. We have to send pages manually via Translation Management becuase we dont want to over ride the english, spanish and russian translations but this doest work. We keep being blocked by the message

"Out of Credits for Automatic Translation Translation not running... there is an issue that needs your attention. Fix it to continue."

And the Fix button do nothing.

Still unresolve.

June 11, 2025 at 7:46 am #17124354

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I was not working on your site. It seems you've hit a safe limit, but you can't see it because the pop-up isn't appearing. Please create a backup, deactivate all plugins except WPML, and temporarily switch to a standard theme.

Does the "fix" button then work in the top bar? There might be a CSS/JS conflict that's blocking the display of the pop-up.

Best regards,
Marcel

June 11, 2025 at 1:23 pm #17126042

danielO-20

I deactivated all plugins except WPML and temporarily switch to a standard theme, but I still having the same issue. When I press Fix, the pop-up to activate automatic translation appears for 1 second, then automatically closes before I can make any changes.