• Resolved Djules

    (@djules)


    I’ve made the automatic upgrade today, from 1.2.3 to latest 1.2.4 version.
    It seems that the plugin disables himself after upgrade, and as I use some functions like pll_register_string() in my website, all I have was blank pages, because few errors were thrown.

    I reactivate it in database all works fine now. Is it normal ?

    https://www.ads-software.com/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Yes all plugins are de-activated when they are upgraded. That’s managed by WordPress. You have to wrap your pll_register_string call in a test. For example:

    if (function_exists('pll_register_string')) {
      pll_register_string(....);
    }

    Thread Starter Djules

    (@djules)

    Hum, something I ignored. And as my own plugin thrown an error, Polylang plugin couldn’t reactivate himself. Understood.

    Thanks for your reply. And keep up the good work !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrading from 1.2.3 to 1.2.4 disable the plugin’ is closed to new replies.