403 / 404 drupalSettings is undefined

Created on 5 July 2019, almost 6 years ago
Updated 15 May 2025, 23 days ago

On the 403/ 404 pages, drupalSettings is undefined, which means among other things bigpipe isn't working. I'm not sure the fault lies with the system module, but it seems the most obvious reason.

🐛 Bug report
Status

Postponed: needs info

Version

11.0 🔥

Component

system.module

Created by

🇧🇪Belgium stevendeleus

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.

  • 🇦🇺Australia mstrelan

    I installed standard profile and navigated to /admin while logged out. No error in console. Typed drupalSettings in console and get the below output:

    Object { path: {…}, pluralDelimiter: "\u0003", suppressDeprecationErrors: true, ajaxTrustedUrl: {…}, user: {…} }
    ​ajaxTrustedUrl: Object { "/search/node": true }
    ​path: Object { baseUrl: "/", currentPath: "admin", currentPathIsAdmin: true, … }
    ​pluralDelimiter: "\u0003"
    ​suppressDeprecationErrors: true
    ​user: Object { uid: 0, permissionsHash: "6fe518db74e0785c35e750027ffe0748927f85fa5f0c9fef07ea01fdcd6afb9b" }
    ​<prototype>: Object { … }
    

    If this is still an issue please provide steps to reproduce.

Production build 0.71.5 2024