Skip to content

site-settings: Cannot read property 'query' of undefined #4598

Open
@haraldschilly

Description

@haraldschilly

while doing some dev, I saw this. I think I was briefly disconnected when this happened.

Uncaught (in promise) TypeError: Cannot read property 'query' of undefined
    at SiteSettingsComponent.eval (site-settings.tsx?0ae8:110)
    at step (site-settings.tsx?0ae8:4)
    at Object.eval [as next] (site-settings.tsx?0ae8:4)
    at fulfilled (site-settings.tsx?0ae8:4)

break is in async load():

    for (const x of result.query.site_settings) {   <<<<<<<<<<<<<<<<<<<<<
      data[x.name] = x.value;
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions