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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

torotil’s picture

That should be require_once naturally.

RdeBoer’s picture

Assigned: Unassigned » RdeBoer
Status: Needs review » Fixed

Patch applied with attribution.
Thanks torotil !
Rik

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.