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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 5 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 week, 3 days ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
May 16, 2025 at 1:13 pm

mariosP-5

Background of the issue:
I am trying to install the WPML Multilingual CMS plugin on my WordPress site hidden link. I am using the latest version of WPML and have registered the domain with WPML.

Symptoms:
As soon as the plugin is activated, it throws the following PHP warning: PHP Warning: foreach() argument must be of type array|object, null given in /wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/AutomaticTranslationJobCreationFailureNotice.php on line 81.

Questions:
How can I resolve the PHP warning encountered during the installation of WPML?
Is this a known issue with WPML, and has it been fixed in a newer version?

May 16, 2025 at 2:25 pm
May 16, 2025 at 2:30 pm #17042473

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I've found a solution to the issue. I tested in my local copy and it worked. Please make sure to have a full website backup, and follow the steps below:

1. Go to your DB management client (like PhpMyAdmin);
2. Open the wp_options table (the prefix wp_ might differ);
3. Find the "auto-translation-job-creation-error" option;
4. Delete it;

Now, you should be able to properly activate WPML with no issues. Please, remember to create a full website backup before proceeding. Let me know if that fixes the issue.

May 18, 2025 at 3:56 pm #17045796

mariosP-5

This solution is not working for me. I found "auto-translation-job-creation-error" in the wp_options table and I delete it and try to install WPML plugin but still getting the same error. Please give me the working solution. Thanks

May 19, 2025 at 5:27 pm #17049902

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for sharing your results. I've downloaded a fresh copy of your website and couldn't get the solution to work this time. I've forwarded your ticket to our developers, which will analyze the issue and find a permanent solution. I'll get back to you as soon as I receive feedback, which usually takes a few days. I appreciate your patience.

May 21, 2025 at 7:12 am #17055291
mariosP-5

"Some pages are not being translated. When I go to the translation section and open one of these specific pages, WPML doesn't recognize the content for translation."

one of them is the home page
hidden link

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-non-translatable-content/

bc2bc556-20c9-4d78-9a72-69b8d83c3924.png
1c4d9990-2bf5-4322-8f2f-f12336acea2e.png
May 21, 2025 at 3:13 pm #17058264

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

To keep things organized, I've created a new ticket to address this other issue:
https://wpml.org/forums/topic/split-non-translatable-content/

This way, we don't lose track of what's being discussed and can guarantee that both requests will be addressed. I will answer you directly there.