Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you using some Polylang functions in your theme or plugin? Example pll_the_languages()?

    If you are, when Polylang is deactivated and the functions aren’t existing anymore => shows PHP error that in some cases can make your site look broken.

    You should always create some check if function exists before running it:

    if ( function_exists( 'pll_the_languages' ) ) {
        pll_the_languages();
    }
    Thread Starter olegkh

    (@olegkh)

    I did not quite understand what to do to fix the problem …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When the plug-in is disabled, the site does not work’ is closed to new replies.