Title: Call to undefined function pll_current_language
Last modified: June 11, 2019

---

# Call to undefined function pll_current_language

 *  Resolved [dangerlifter](https://wordpress.org/support/users/dangerlifter/)
 * (@dangerlifter)
 * [7 years ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_current_language/)
 * After update to fresh 1.5.0 version we got error:
 * PHP Fatal error: Call to undefined function pll_current_language() in wordpress/
   content/plugins/custom-permalinks/frontend/class-custom-permalinks-form.php on
   line 516″
 * polylang plugin installed in latest version. Rollback to version 1.4.0 solved
   issue.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_current_language/#post-11628221)
 * Hi [@dangerlifter](https://wordpress.org/support/users/dangerlifter/)
 * I have rechecked and didn’t find the issue. I have the latest version of both
   plugins and WordPress.
 * Still, I have added the additional check to avoid this error if it occurs by 
   chance in some situation.
 * You may check the `v1.5.1` and provide your feedback.
 * Regards,
    Sami
 *  Thread Starter [dangerlifter](https://wordpress.org/support/users/dangerlifter/)
 * (@dangerlifter)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_current_language/#post-11630324)
 * [@sasiddiqui](https://wordpress.org/support/users/sasiddiqui/) Thank you. Version
   1.5.1 solved PHP error. In spite of “polylang” plugin is installed in my case“
   function_exists( ‘pll_current_language’ )” returns false. Have no time to debug
   deeper so far. Hope It will be solve proper way in future.
 * Best wishes, Dmitry.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Call to undefined function pll_current_language’ is closed to new replies.

 * ![](https://ps.w.org/custom-permalinks/assets/icon.svg?rev=1785367)
 * [Custom Permalinks](https://wordpress.org/plugins/custom-permalinks/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-permalinks/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-permalinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-permalinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-permalinks/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dangerlifter](https://wordpress.org/support/users/dangerlifter/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/call-to-undefined-function-pll_current_language/#post-11630324)
 * Status: resolved