Support » Plugin: Polylang » White screen caused by Polylang

  • Hello. One of the sites I manage use Polylang. It has experienced the “white screen of death” once in awhile for years. Now it is happening more often and today I managed to identify Polylang as the source of the issue. When I deactivate Polylang the issue doesn’t occur.

    Everything is fully updated.

    When the white screen happens there is no errors in the debug log (I’ve already tried that several times). But what made me notice that it was probably Polylang that was the source of the issue, was that the main URL redirected to the english version of the website (english is the second language on the website).

    What can I do to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Often third party plugins are not compatible with Polylang.
    Keep Polylang activated and deactivate all other plugins. Check, if the error still occurs.

    So here is what I just did.
    First I reactivated Polylang (along with all the other plugins) = the white screen error emerged.
    Then I deactivated all other plugins and only kept Polylang active = No visible error.
    Then I activated each other plugin one by one and checked = No visible error.

    I also turned on the debugging log. Nothing to mention there..

    So right now there is no issue, but it won’t be long until it happens again as it has on/off for a very long time. I’m not sure how to proceed with this.

    Plugin Author Chouby



    When it happens again, activate the debug mode by setting WP_DEBUG to true in your wp-config.php and look for error messages.

    Chouby: I’ve already done that several times. The debug log shows nothing relevant when the white screen error emerges. There are no clues to this issue to be found there.

    The only clue that let me to think of Polylang, was that when the white screen error happened, the URL showed the english version (/en/) instead of the danish version (/da/) which is the standard one. So it seems like, when this happens, that Polylang tries to redirect to the english version but without success, resulting in the white screen. But why it tries to do that, I do not know.

    Then I deactivated all other plugins and only kept Polylang active = No visible error.

    That proves that the error is not produced by Polylang. As I wrote before, sometimes third party plugins are incompatible with Polylang – often because they do not follow the codex/standard.

    If there is nothing to see in debug.log you have to check apache and php logs.

    Got the WSOD with Polylang. That happens in the last days, and I believe it was due to the last update.
    Everything was working well and then it came to the “white screen of death”.
    I’ve disabled manually (by changing the name) all plugins as I couldn’t access the wp-admin.
    Tried to leave only Polygang and didn’t work. The only way to get my site back was disabling Polygang.
    Not sure if anyone had the same issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘White screen caused by Polylang’ is closed to new replies.