Skip Navigation

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

Problem:
The client was experiencing an issue where after activating their website, content such as menus, categories, and comments were not set to the default language, even though posts and pages were correctly assigned after using the 'Set language information' and 'Fix post type assignment' troubleshooting options.
Solution:
1. We recommended creating a minimal environment by deactivating all non-WPML plugins and switching to a standard WordPress theme. It's crucial to back up the database and website before proceeding.
2. We advised increasing the WordPress memory limit to at least 128M, preferably 256M, as the client's site was set to 40M. Afterward, the client should confirm the memory change via WPML > Support > WordPress > Memory limit.
3. We suggested running the 'Set language information' button again.
If the issue persisted, we provided a link to documentation for resetting WPML: WPML reset documentation, reminding the client to back up their site before attempting the reset.
After these steps, the categories and tags were successfully set to the default language.

If this solution doesn't look relevant to your situation, please open a new support ticket with us.

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

Last updated by Long Nguyen 1 year, 4 months ago.

Assisted by: Long Nguyen.

Author Posts
October 26, 2023 at 7:45 pm #14674005

jonC-13

When first activating the website it didn't add any content, pages, posts etc to the deafult language.

I found in your support how to go to
Support - Troubleshooting
- set language information
- Fix post type assignment.

This worked for posts and pages. However everything else hasn't set to the default language.
Menus, categories, comments etc

How do I do this?

October 27, 2023 at 1:45 am #14674805

Long Nguyen
Supporter

Languages: English (English )

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

Hi Jon,

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

The button "Set language information" should set the missing language for posts/pages and taxonomies also. If it does not work, please share some screenshots of the issue and try some troubleshooting steps below and see if it helps:

1. Enable a minimal environment:
- Deactivate all non-WPML plugins
- Switch to a standard theme of WordPress
❌ IMPORTANT: Please backup your database and website before proceeding ❌
2. Increase WP memory limit: 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.
3. Run the button again.

Look forward to your reply.
Thanks

October 27, 2023 at 8:21 am #14676079

jonC-13

thank you, I increased to 512 and ran the buttons again.

Still it hasn't assigned the menus, post categories and comments to the default language.

It also says needs restAPI, does this need enabling?

October 27, 2023 at 8:39 am #14676443

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

Yes, the Rest API needs to be enabled, refer documentation https://wpml.org/documentation/support/rest-api-dependencies/

Also, 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 have 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 to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

October 28, 2023 at 8:13 am #14682943

jonC-13

Hello, any update on this problem please. I need to get this plugin working on my website. I have just paid for it and still not working.

October 28, 2023 at 1:17 pm #14683813

jonC-13

I can see you have been working on the website, it is over 2 hours and the website is a mess. Can I temporarily disable WPML or are you still working on it? Thanks

October 29, 2023 at 1:14 am #14684831

Long Nguyen
Supporter

Languages: English (English )

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

Hi,

I've tried some troubleshooting steps on your site but the taxonomies still do not have the default language. I also tried to take a backup of your site and database to restore it on my local host but the file size is too large and not completed.

I see there is no translation content so please try to follow the documentation below to reset WPML and see if it helps.
https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Look forward to your reply.
Thanks

October 30, 2023 at 10:06 am #14689805

jonC-13

I have cleared everything and start again and same thing has happened. Nothing assigned to English as default

October 30, 2023 at 8:13 pm #14694963

jonC-13

Can you advise on this please or we will need a refund if your plugin can't work on our website.

October 31, 2023 at 2:54 am #14696187

Long Nguyen
Supporter

Languages: English (English )

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

Ok, now the categories and tags have default language, please check screenshots attached. Can you please recheck this?

Tags ‹ Olive Press News Spain — WordPress 2023-10-31 10-04-00.png
Categories ‹ Olive Press News Spain — WordPress 2023-10-31 09-59-15.png
October 31, 2023 at 1:19 pm #14700071

jonC-13

YES!!! great that looks now it is working. I was trying all day to make a backup but even without copying all the images it is very big. Thanks for your great help.

November 1, 2023 at 1:39 am #14704719

Long Nguyen
Supporter

Languages: English (English )

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

Thanks for your confirmation.

Feel free to create a new ticket if you have any questions. Have a good day!