• good day.

    Pagination does not work when PolyLang plugin is enabled. (second lang) (It’s UA)
    When you click on page 2 or 3, etc., the address of the pages appears, but the content does not change. Shows the first page.

    Installed different versions via Rollback. Did not help. Version 2.2.0 works the same as 2.3.0

    Your plugin is the only one that works with PolyLang.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    we have the same problem in the second language(not default). Keeps loading the 1st page results.

    Did you find a solution to that?

    The problem appears when the language parameter appears in the url for example
    https://www.domain.com/en/dresses

    Hi,

    Same problem here.

    In PermalinkListener::getPolylangLangSlug(), the language slugs should be put in a non-capturing group :
    '(?:' . implode( '|', $languages ) . ')/'

    Currently, it is being captured and saved as $matches[1], which is used for the page number.

    • This reply was modified 3 years, 10 months ago by Syltaen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘With Polylang – pagination does not work’ is closed to new replies.