Skip to content Skip to sidebar

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

Problem:
You are experiencing a fatal error when using the auto-translate feature in WPML after adding automated translations and purchasing credits. The error occurs when attempting to translate pages, causing the plugin to malfunction.
Solution:
We recommend performing the following steps in your WPML plugin to resolve the issue:
1. Navigate to WPML-> Support -> Troubleshooting.
2. Click the following buttons:
- Clear language information and repopulate languages
- Clear Cache in WPML
- Set Language information
- Fix element types collation
- Remove ghost entries from the translation tables
- Assign translation status to duplicated content

These actions should help fix the settings and allow you to use the auto-translate feature without encountering errors.

If this solution does not resolve your issue or seems irrelevant due to it being outdated or not applicable to your case, we highly recommend opening a new support ticket. Additionally, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum 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 3 replies, has 2 voices.

Last updated by Shekhar Bhandari 1 year, 10 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
June 24, 2024 at 12:22 pm

jasonM-38

Background of the issue:
I am trying to: Error in the plugin settings after add automate transaltions. I bought credits for auto translate the site. When I click on autotranslate button to translate one of my pages. It started giving error on some of the pages and plugin is not working anymore.

Symptoms:
Fatal error: Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /home3/goodfirm/public_html/dev-sites/pfanstiehl/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112

Questions:
Why am I getting a fatal error when using the auto translate feature?
How can I fix the plugin settings to use the auto translate feature without errors?

June 24, 2024 at 12:33 pm #15807065

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Could you please go to WPML-> Support ->Troubleshooting and click the below buttons:

+ Clear language information and repopulate languages
+ Clear Cache in WPML
+ Set Language information
+ Fix element types collation
+ Remove ghost entries from the translation tables
+ Assign translation status to duplicated content

Let me know if this helps.

Thanks

July 2, 2024 at 10:04 am #15874209

jasonM-38

Hi
The above steps you mentioned solved the issues. Thanks for your help. But now, there is an another issue. When I am translation string translations for my child theme. It stucks. Page keeps loading. There is no string translated. I have credits available. Can you please check the issue?
hidden link
with same credentials above.

screenshot-54.225.32.6-2024.07.02-15_33_23.png
screenshot-54.225.32.6-2024.07.02-15_32_02.png
Screenshot from 2024-07-02 15-31-12.png
July 2, 2024 at 10:05 am #15874262

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you please open a new ticket for your new issue? As per our support policy we only take one issue per ticket.

Thanks