polylang wordpress seo = language filter problem
-
Hello,
I have WP 3.8 and polylang 1.3.1. Both updated today.
I ran into a series of problems and I’m not quite sure if they were there before the update. It’s a clients site and I haven’t verified it in a while. The website is https://www.filodetero.com.
I have a bunch of small problems, probably related, not sure. I can’t seem to diagnose the problem.
The most prevalent problem is an php error in the backend. It is related to Yoast’s WordPress SEO plugin because on deactivating this plugin, the problem disappears.
The problem occurs in the overview page (backend – all …) of all post types (posts, pages, some custom post types) with the exception of media. This problem only appears when using the language switcher in the wp-admin bar. So on opening f.e. all posts, nothing happens but when switching to f.e. french it get following error twice:
Warning: reset() expects parameter 1 to be array, null given in /data/sites/web/filodeterocom/www/wp-includes/query.php on line 3277
But it’s more complex. Above behaviour only occurs on one custom post type that has:
Languages – Options – Custom post types Activate languages and translations for custom post types: turned off.All the other post types (including default posts and pages and other custom post types) do have this turned on and I still get the error but in a different manner:
dashboard – all [post type] – language switcher: f.e. french -> no error
followed by: language switcher show all languages -> error
So, on these post types, I only get the problem when I first select a language and then select back to all languages.To make it more complex. The error doesn’t only appear on the first line of the <body>, it also appears (twice) in a WordPress SEO custom field called SEO Title (The all [post type] overview page table columns: title, author, date, languages, … seo title).
Apart from this error I have other problems:
– the localization doesn’t work anymore; in the English version only. No problem in the other languages.
– the blog home page doesn’t work anymore and shows all posts in all languages and depending on the language only some of the categories.
– pagination on the blog home doesn’t work anymore.
– …
It’s just a series of problems but I’m hoping above php error is causing the lot (I don’t think so because they don’t disappear on deactivating WordPress SEO) but am trying to focus on that one first. Any ideas? (sorry for the long post)
- The topic ‘polylang wordpress seo = language filter problem’ is closed to new replies.