Background of the issue:
I am trying to translate posts using WPML on my site hidden link. The posts include a list of models in the following format: models: [{ databaseId: 56273}, {databaseId: 3764}, ....]. This format is correct for both English and French versions when models are present.
Symptoms:
When there are no models to select, the English version shows models: null, but the French version shows models: [null], which causes an internal error.
Questions:
Why is the French version showing models: [null] instead of models: null when there are no models to select?
How can I fix the internal error caused by the incorrect format in the French version?
Replicating the same scenerio will take lot of time as it will include adding ACF and other things. Can we please proceed without that, I have already shared the scenerio and also added the required screenshots.
In order to escalate the issue, we need to replicate it on a clean installation of WordPress with clear steps and understand where the issue arises. I've setup WPML and installed all necessary plugins on the sandbox site.
Please help us replicate the issue and let us know the steps to do that.
Thanks for your co-operation.
The topic ‘[Closed] Models list is not coming in correct format in posts translation’ is closed to new replies.