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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by rebwarK-2 1 year, 8 months ago.

Assisted by: Long Nguyen.

Author Posts
March 27, 2023 at 6:51 am

rebwarK-2

I have a blog, where the "Uncategorized" taxonomy has the "translated" category as original language for some reason.

March 27, 2023 at 7:16 am
March 28, 2023 at 4:50 am #13345021

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Rebwar,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

I've tried to replicate the issue on my demo site but do not see that issue. I recommend following some troubleshooting steps below and see if it helps.

1. Increase WP memory limit: I see that the WordPress Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:


define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

2. Enable a minimal environment:
- Deactivate all non-WPML plugins
- Switch to a standard theme of WordPress

3. Run the troubleshooting buttons as my colleague suggested, go to WPML - > Support -> Troubleshooting:
- Synchronize posts taxonomies (for posts only)
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Set language information
- Fix terms count
- Fix post type assignment for translations
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/

Look forward to your reply.
Thanks

March 28, 2023 at 5:07 am #13345067

rebwarK-2

Didn't work.

March 28, 2023 at 6:36 am #13345783

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

March 28, 2023 at 5:44 pm #13351925

rebwarK-2

Hey, solved it. Three posts did not have any category. These three had the category "annat" before WPML was activated, but once the bug occurred, these for someone reason where without category.

Once I assigned them a random category your steps below finally worked:

- Synchronize posts taxonomies (for posts only)
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Set language information
- Fix terms count
- Fix post type assignment for translations