Skip Navigation

Open

Overview of the issue

If you select the option to Store a language cookie to support language filtering for AJAX on the WPMLLanguages page, you will see the following error in your Firefox browser console:

Cookie “wp-wpml_current_language” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite” attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

According to their documentation, the warning is being displayed in FireFox because:

Cookies with SameSite=None must now also specify the Secure attribute (they require a secure context/HTTPS).

Workaround

  1. Open the Firefox browser and paste about:config in the address bar.
  2. Search for network.cookie.sameSite.laxByDefault.
  3. Double click on it and this value will be changed from false to true.
  4. Restart your Firefox browser.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>