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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+01:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by misoM 2 hours, 34 minutes ago.

Assisted by: Dražen.

Author Posts
January 6, 2025 at 4:47 pm #16567119

misoM

Background of the issue:
We have not yet imported any posts on the website, but on this page we see that WPML Import and Export plugin found 2164 imported posts (which actually were not imported). We have a script that lists all posts and their _wpml_import_language_code, _wpml_import_source_language_code, _wpml_import_translation_group meta values. For many posts, this information is missing. However, in the WP backend, they are indicated as correctly translated versions. URL: hidden link

Symptoms:
WPML Import and Export plugin incorrectly identifies 2164 posts as imported, which were not imported. Running operations on these posts may result in lost connections between post translations.
I tried already, based on the recommendations by WPLM support> 1. Take a backup of your site first for safety reasons.

2. Try to delete the recently imported posts if possible.

3. Update WPML plugins to the latest version.

4. Go to WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- Synchronize posts taxonomies
- Remove ghost entries from the translation tables
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information

5. Try to import the post again and see if this resolves the issue.
But the issue of 2164 imported posts is still there.

Questions:
How can we get rid of 2164 or now 2177 imported posts we see in the WPML Export and Import

January 7, 2025 at 10:04 am #16568810

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello

thanks for contacting us.

We would need to have a further look and check with disabling other plugins/themes. If possible, please create a staging site and share access with us so we can take a look.

I have enable private reply fields.

Regards,
Drazen

January 9, 2025 at 7:50 am #16576223

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks.

I am trying to access the staging site, but it requires Website protection details, I tried a few of what you shared above but it seems it doesn't work. Can you please recheck and share it with me or disable it for staging?

Thanks,
Drazen

January 9, 2025 at 8:09 am #16576304

misoM

Hello. I disabled the password protection now. Please check.

January 9, 2025 at 8:22 am #16576348

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks for getting back, I have run WPML Troubleshooting tools (Set language information) and then run the Import/export tool, probably message was probably there since some data was missing for posts.

After running it, the message is gone and the tool seems to work fine now. Can you please check the staging, if everything is okay and if it has not caused any issues with the post connection?

Thanks,
Drazen

January 9, 2025 at 8:28 am #16576360

misoM

Hi Dražen. Thanks for the support. This causes the same issue, we encounter ourselves again. You can see before and after from the screenshots.

Screenshot 2025-01-09 at 09.27.51.png
Screenshot 2025-01-09 at 09.25.57.png
January 9, 2025 at 8:48 am #16576615

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

ahh, okay, I was not aware of this, sorry if I missed it in your previous replies.

Can you please revert back the state/backup and I will check further and escalate this issue.

Thanks,
Drazen

January 9, 2025 at 8:53 am #16576624

misoM

OK. I clicked restore now. Thanks

January 9, 2025 at 9:59 am #16576918

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

thanks, I have escalated it to our 2nd tier for further check and advise.

I will update you when I have some news.

Regards,
Drazen

January 9, 2025 at 10:27 am #16577004

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

our 2nd tier checked and we checked the database for _wpml_import_language_code. The query returned 2,177 rows, exactly the number shown on the backend.

This meta-key should not exist in the post-meta table if the import process hasn't been executed. Did you maybe add it somehow or import was indeed done at some point in the past?

Regards,
Drazen

January 9, 2025 at 10:42 am #16577088

misoM

Hello. No we just perform first test import of 1 article or so. We noticed however some fake RU casino posts - which means we were hacked at some point - we manually deleted those posts - if this can maybe be connected or done through the import? Can you check some examples of those - In any way since we haven't perform any imports if we just delete those in a way everything else stays the same on the site we are probably good.

January 9, 2025 at 1:26 pm #16578050

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

I am checking further on this with 2nd tier and will update you soon.

Regards,
Drazen

January 16, 2025 at 12:11 pm #16601874

misoM

Hello,
We also tried every proposal and we always get the same after we run exporter - the articles looks like they loose the translations - but checking further, the actual websites look like staying live, just translations are not seen as standard with pens marking the translation is active on another language - you will understand what I mean by checking this video walkthrough. It's just we need to be 100% sure we haven't actually lost the articles if we don't revert now. What do you think ? hidden link

January 16, 2025 at 2:09 pm #16602396

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

I am sorry but I am not sure I understand completely the topic and your last reply, let's try to clear things up.

1) I am trying to solve the issue you mentioned first (How can we get rid of 2164 or now 2177 imported posts we see in the WPML Export and Import), and for that was our last suggested fix.

If you now check WPML Import Export screen, do you still get this message, or this is solved?

2) Why are you running an exporter now, and which exporter are you running, I see you have different plugins?

You should have prepared sheets to import/export before doing any action and follow our docs for each. I think this should be another topic and not related to the first main issue topic you mentioned and we are solving.

3) It seems like you have articles in all languages, just they are not connected as translations to each other.

Regards,
Drazen

January 16, 2025 at 3:17 pm #16602675

misoM

Hello,
Thanks for getting back. Let me answer by your numbers>
1.) We could not get rid of the attempt to run through 2177 posts - but the only "damage" we see is the disconnect of the translations - now we are figuring out if this is really a damage in some way or no crucial impact.
2.) We use WPML Import and Export - per my understanding to move articles, uploaded by All Import plugin which imports them into draft versions - into the articles from draft to published and with language information - here the msg of 2177 posts came up all the time. Now we went trough that but we lost the language connections again.
3.) You see any issue with that going forward?
Thanks

Screenshot 2025-01-16 at 16.13.48.png