Title: Undefined function `pll_get_post`
Last modified: April 7, 2020

---

# Undefined function `pll_get_post`

 *  Resolved [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/undefined-function-pll_get_post/)
 * 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](https://wordpress.org/support/users/petersplugins/)
 * (@petersplugins)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-function-pll_get_post/#post-13073200)
 * 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.

 * ![](https://ps.w.org/404page/assets/icon-256x256.png?rev=3345344)
 * [Smart Custom 404 Error Page](https://wordpress.org/plugins/404page/)
 * [Support Threads](https://wordpress.org/support/plugin/404page/)
 * [Active Topics](https://wordpress.org/support/plugin/404page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/404page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/404page/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Peter Raschendorfer](https://wordpress.org/support/users/petersplugins/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-function-pll_get_post/#post-13073200)
 * Status: resolved