Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the page-cache is enabled the only point (except during form submissions) where module-code can run is hook_boot(). We use hook_boot() to put data in the session cache that is later used.
Seemingly the only dependency on later bootstrap levels is that includes/unicode.inc is loaded. Here is a patch that requires that file on .module-level.
Comment | File | Size | Author |
---|---|---|---|
#1 | session_cache-require-unicode.inc-2119579-1.patch | 412 bytes | torotil |
session_cache-require-unicode.inc_.patch | 407 bytes | torotil |
Comments
Comment #1
torotil CreditAttribution: torotil commentedThat should be require_once naturally.
Comment #2
RdeBoerPatch applied with attribution.
Thanks torotil !
Rik