hello!
that's the thing, without refreshing the page should already be working. when I disable the WPML plugin, the categories get updated using ajax and without the need to refresh the page.
(so they don't get again deselected)
Hello there and thank you very much for the duplicator.
After many hours of debugging, I found that for some reason you are having corrupted data in wpml settings.
Here is what needs to be done :
1) Take a backup of your site
2) Go to your Database in wp_options table
3) Find the row with name "icl_sitepress_settings"
4) Delete the row
5) Go back in the admin panel, you will see to run WPML Wizard, click it
6) It will show only the very last step , click Finish
7) Go and test a post.
Locally I have tested it many times and it is working ok, but we need to see also your installation to.
but there are some problems after I completed the WPML wizard, the italian language was deactivated and I had to activate it again, and it got me wondering: is this process safe for the future?
just hoping it won't create other bugs/issues
I don't think it will be needed to do again. But if you have a bakcup , you don't need to be afraid.
Also, it is normal that you might see some glitches like the language you had to enable again. With this tip we are not deleting any of the content just recreating the settings.
I hope this helps. Please let us know how it goes or if you need any further assistance. I'll gladly help you. 🙂
it seems the issue came back today, again I can't assign categories inside the gutenberg editor.
I changed some WPML options before that in order to use translation if available or fallback to default language in "WPML - Settings - Post Types Translation" for Posts and I noticed this actually creates the issue of the categories not being saved.
So if I set the posts to "Translatable, only show translated items" the categories selection works just fine, if I select "Translatable, use translation if available or fallback to default language" then the issue is there.
I have to use the second setting because I want to show on other languages content that is not translated from the default language - english.
what could be wrong here?
you can again login on the dashboard if you want to test, the user is still active.