Support » Plugin: WP Performance Pack » Gettext test failed

  • I want to enable to use getext but have the error message “Gettext test failed. Activate WPPP debugging for additional info.”

    When checking WPPP debugging it shows;

    OS Linux 6D18DE3 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64
    PHP gettext extension is Available
    WordPress locale en_GB
    LC_MESSAGES defined? Yes
    System locales (LC_MESSAGES) C
    Putenv available? Yes
    Locale writeable? (en_GB) No
    Directory /xxxxx/wordpress/wp-content/wppp/localize/en_GB/LC_MESSAGES Exists

    Is the issue because locale is not writable and if so what is the fix please?

    I am using PHP-FPM if that makes any difference.

    Thanks

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

    (@greencp)

    You are correct, the issue is the not writable locale. Though in your case this wouldn’t be an issue, as the locale is the correct value. I will change the testing so locale has only to be writable, if it differs from the WordPress locale.
    For now try to change the test function so it just return true as everything else looks ok.

    Plugin Author Bjoern

    (@greencp)

    Please try v2.4. This version might fix your problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.