Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Raz

    (@razique)

    Got it
    Fatal error: Call to undefined function pll_register_string() in /public_html/wp-content/themes/my-theme/functions/user/functions.php on line 5

    phew 🙂

    Thread Starter Raz

    (@razique)

    So looks like you cannot upgrade if you use pll_register_string since by disabling polylang, WP doesn’t know this function and throw out the error am I correct?

    By commenting my custom pll_register_string entries, I have been able to update PL and re-enable my entries

    Plugin Author Chouby

    (@chouby)

    To avoid this, you must test for the existence of the function before using it. Example:

    if (function_exists('pll_register_string')) {
    // do some stuff
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank pages after 1.3.1 update’ is closed to new replies.