Reply To: A resource disappeared

As of my code there’s no line that deletes posts meta fields. Maybe switching the main language in WPML could have this result. Did the ID changed?
The only thing you can try is to find the post meta fields in the database and edit it’s ID. I think it’s still there.