Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

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.

This topic contains 8 replies, has 7 voices.

Last updated by Vangelis 6 years ago.

Assigned support staff: Harshad.

Author Posts
November 23, 2013 at 2:19 pm #297040

Dimitri

If I click on "update" on existing post I receive this error message then I reload the page and the website works well.

I've installed the latest version of WPML suite.

Warning: Invalid argument supplied for foreach() in /home/allthepr/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 1987

Warning: Cannot modify header information - headers already sent by (output started at /home/allthepr/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php:1987) in /home/allthepr/public_html/wp-admin/post.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /home/allthepr/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php:1987) in /home/allthepr/public_html/wp-includes/pluggable.php on line 899
November 23, 2013 at 3:12 pm #297053

Harshad

Dear Dimitri,

I have sent you email with a file attached.
Can you please upload the attached file to /plugins/sitepress-multilingual-cms/inc/translation-management folder.

Note :: take backup of existing file.

Let me know if this helps.

November 23, 2013 at 4:03 pm #297061

Dimitri

Hi!

I think that the solution you provided works well.

Thank you.

D.

November 26, 2013 at 2:52 pm #298292

Zee

Can I have the file attached I have the same problem Tks

January 24, 2014 at 3:14 pm #327288

Janek

Hi,

I would also like to see the answer since i have the same problem

January 30, 2014 at 8:52 am #330282

Birk

Hi
I also have the same issue.

February 10, 2014 at 10:49 pm #336933

chrisC-3

I am also having this same issue

February 11, 2014 at 8:57 am #337140

Zee

This issue doesn't fixe it by wpml. You need to update your translation for resolved the error message

February 22, 2014 at 7:09 pm #345667

Vangelis

Hi!
I have the exact same issue. I dont know how to reproduce it as it happened when updated random pages and not all of them. I am using WPML 3.0.1.

I also noticed that in 2 of these times i got the error, the translated page was lost or overwritten with the default language page.

Any suggestion?