• Resolved Jory Hogeveen

    (@keraweb)


    This happens when you enable Polylang without adding languages. Not common but an edge case with multisites using each-other’s posts.

    There are multiple locations you check whether the Polylang version constant is defined. I think it’s better to check function_exists( 'pll_get_post' ).

    Is there a public GitHub repo available? I’ll create a pull request!

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • Plugin Contributor Peter Raschendorfer

    (@petersplugins)

    Thanks very much for pointing me to that. I’ve fixed this in version 11.2.3.

    Also thanks for your offer to help, but I don’t use GitHub.

    Regards,
    Peter

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined function `pll_get_post`’ is closed to new replies.