I’ve been using Polylang for years, but now I noticed all of a sudden 2 new languages appearing. I get the error message that I need to have translations for these languages. Consequently all my posts and pages are missing in the admin section. Frontend looks and works fine.
I cannot remove these nameless (empty) languages, page reloads and they stay there, no content is associated with them. Cannot edit them either, not that I want to…
the only good is that you are not the only one. I believe more would have the same problem because those languages have appeared from nowhere. No-one add anything. Maybe it’s something with a plugin or the new wordpress update
Hello, Could I have a screenshot showing these “languages”? Have you an idea of the action that you did that could have created them? Did you recently update a plugin or your theme? Did you install recently a new plugin?
Here is the screenshot from my website. I suppose it would be the same for @andraspal .
In my case except that the wordpress updated to 6.2.2 and we installed the WP OPTIMIZE plugin (which we uninstalled it) nothing else changed. Everything was working few days ago even with the WP OPTIMIZE plugin enabled
I also have a warning in Languages menu on the top of the page:
“You must translate your static front page in , .”
Notice the comma and the dot at the end of the warning. Not so easy to find that in Phpmyadmin, which I am trying now…
edit:
I found this option table (in phpmy…): “_transient_pll_languages_list” where there seem to be 2 extra languages. The problem is its injected from somewhere else, so I cannot delete.
This reply was modified 2 years, 10 months ago by andraspal.
So looking at transient_pll_languages_list table records I noticed those phantom records without names. Looked at terms ID and term_taxonomy IDs and found out “falang” had created those some years ago, so I delete these IDs from terms table and then I could truncate the transient_pll_languages_list table. All is back to normal. Yess!:-)
It looks like this issue occurs on sites where Falang was installed and not completely uninstalled. This plugin is partially based on Polylang and uses taxonomies as we do, but in an incompatible way. Moreover what I can experiment today with its current version may be different from what occurred with older versions of Falang.
Anyway, with older versions of Polylang, the remaining language data from Falang were in some way hidden. With the version 3.4, they appear in the list of languages as empty languages. This also fires a load of PHP warnings.
We are preparing a fix to avoid Polylang to be disturbed by these remaining data.