• After upgrading to version 3.4.5, it started throwing a Notice when running the PHPUnit test:
    “Notice: Function PLL_Model::get_languages_list() was called incorrectly. It must not be called before the hook ‘pll_pre_init'”

    Although this function is not getting called directly anywhere. PHPUnit is activating the plugin and adding default language using pll_no_language_defined hook.

    I see it has been mentioned on the change log here but not have much information about it. https://polylang.pro/polylang-3-4-eases-the-translation-of-custom-tables/

    Thanks,

  • The topic ‘Function PLL_Model::get_languages_list() was called incorrectly’ is closed to new replies.