Support » Plugin: Custom Permalinks » Call to undefined function pll_current_language

  • Resolved dangerlifter


    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


    Hi @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.


    Thread Starter dangerlifter


    @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.