• Resolved Peter_L

    (@peter_l)


    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)

    https://www.ads-software.com/plugins/polylang/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Peter_L

    (@peter_l)

    UPDATE:
    This is a 3.8 issue. 3.7.1 does not have this problem.

    Thread Starter Peter_L

    (@peter_l)

    UPDATE:
    The other problems I mentioned are unrelated to the above php error.

    Plugin Author Chouby

    (@chouby)

    I confirm the PHP error introduced with WP 3.8. I opened a WordPress bug report. See #26634.

    For other issues, are you sure it is WordPress SEO which is conflicting? I did some tests and posts are correctly separated according to their languages. Could you check that this is not another plugin or even your theme which conflicts?

    Thread Starter Peter_L

    (@peter_l)

    Hey,

    Thanks for the speedy answer. I’m still looking into the other issues. No, they don’t have anything to do with WordPress SEO. Seems to have something to do with the blog home page, the category pages seem to be fine.

    Don’t worry about it, I’ll look into it further and
    if ((I can’t figure it out) || (am going insane))
    {new thread}
    else{ leave you to more important things }

    What do I do with the error issue? I reverted the site back to 3.7.1. How do I follow this up so I can update?

    thanks for the help

    Plugin Author Chouby

    (@chouby)

    It seems that the fix should be included in v3.8.1 (no idea when the version will be released though).
    See #26634 and #26728

    Thread Starter Peter_L

    (@peter_l)

    Great, I’ll wait for 3.8.1 and try it out then. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘polylang wordpress seo = language filter problem’ is closed to new replies.