Support » Plugin: 404page - your smart custom 404 error page » Undefined function `pll_get_post`

  • 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 Author 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)
  • You must be logged in to reply to this topic.