I updated to 1.2.1 recently. All looked okay from the plugin update screen and I didn't look at my site after the update.
Now that I do, I see a warning at the top of each page|post|index:
Invalid argument supplied for foreach() in /var/www/vhosts/companjen.name/subdomains/ben/httpdocs/wp-content/plugins/polylang/include/mo.php on line 57
The homepage http://ben.companjen.name is unavailable because of this warning ("headers already sent"); if I append "/nl" or "/en", the languages that I use, I do get the respective homepages.
From looking at the code, the line causing the warning is in
foreach (unserialize($post->post_content) as $msg). Could there be something wrong in the database causing
unserialize to go "can't do that"?
In the database I notice inconsistent values for
The first one is off, and I don't know why. The last one is again different. Is this causing trouble?
Most noticeable, though, is that all posts with type "image" have no language information anymore when looking at the posts overview.
What can I do? Normalise the database values?