Cookie not st on cached page even though page_cache_invoke_hooks is set to TRUE

Created on 12 June 2014, about 11 years ago
Updated 3 July 2025, 12 days ago

Even though page_cache_invoke_hooks is set to TRUE in settings.php file, the language cookie is still not set when using the language switcher on a cached page.
When on an uncached page, the cookie is set just fine.

Note that this issue is different from 📌 Wrong language served when using Language Cookie with Drupal page caching Closed: outdated . In this case, the language defined in the cookie is correctly used even on cached pages, but it is not set correctly.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇧🇪Belgium codata

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024