Skip Navigation

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

Problem:

When updating an old page that its translation is complete, the following error occurs.

Undefined property: stdClass::$status_id in /wpml-translation-management/classes/ATE/class-wpml-tm-ate.php on line 57

Solution:

The fix for this issue is included in the latest versions of WPML.

0% of people find this useful.

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 20 replies, has 2 voices.

Last updated by Itamar 3 years, 11 months ago.

Assisted by: Itamar.

Author Posts
March 3, 2021 at 2:54 pm #8219099

fredrikV-2

1. Not as far as I can remember. It's been over a year since we started building the site so it is possible, but as far back as I remember, Swedish has been the default language.
2. WPML was one of the first plugins installed so it should have already been there when most pages were built.

Up until the 1.8.1 (perhaps even 1.8.0) update to ACFML I have not experienced anything like this problem.

March 3, 2021 at 7:09 pm #8221541

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

According to our findings so far, this issue is not related to ACF and ACF Multilingual. I'll now explain this assumption.

Even if the site is in a minimum environment (The theme is switched to 2021 WP default theme, and all the plugins except WPML, String Translation, and Translation Management are deactivated, the following occurs.

A. If you try to translate an old page that its translation is complete, the Advanced Translation Editor does not show. The page gets refreshed, and nothing happens.

B. In the debug.log, the error message shows.

Undefined property: stdClass::$status_id in /wp-content/plugins/wpml-translation-management/classes/ATE/class-wpml-tm-ate.php on line 57

When I deactivate WPML on your site, I can see that English is the default language. Please see the attached screenshot. This probably means that English was set as the default language while setting up WordPress. And Swedish was set to be the default language by WPML. This is why I asked if the default language has ever been changed.

I'm now escalating this issue to our second-tier supporters, and they will continue to investigate. We'll keep you updated here.

Thank you for your patience.
Itamar.

2021-03-03_17-04-20.jpg
March 4, 2021 at 2:32 pm #8229009

fredrikV-2

Sounds good, are you going to need the staging site anymore or can I use it again?

March 4, 2021 at 6:02 pm #8230807

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Our second-tier supporters might want also to check things on the staging site.
However, if you need to use it, then go ahead and use it. We also have a copy of your site.

Regards,
Itamar.

March 23, 2021 at 10:55 am #8377053

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Our developers recognized the issue that I mentioned in my reply on the 3rd of March as a bug. That issue will fix in a future version of WPML and the Advanced Translation Editor.

If you have any translation jobs that you need to be fixed, please share their ID with us, and our developer would manually fix those until the fix is deployed to production.

When the version with the fix is released, I'll update you here.

Thank you for your patience.
Itamar.

April 14, 2021 at 12:26 pm #8535301

fredrikV-2

Any news on how far away the fix is?

April 18, 2021 at 8:14 am #8563677

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'm sorry, but this issue is still not fixed on the ATE server. As I mentioned in my previous reply, you can give me the job IDs of the translation jobs that you lost their translations, and our developers will manually fix those specific jobs for you.

Regards,
Itamar.

July 29, 2021 at 6:05 pm #9311265

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

The fix for this issue is included in the latest versions of WPML, so we are closing the ticket.

Don't hesitate to get in touch with us again with any WPML issues or questions.

Regards,
Itamar.