Skip to content

null error when no account creation preference #1081

@dqwiki

Description

@dqwiki

Log: https://accounts.wmflabs.org/internal.php/errorLog/view?id=a4d8f3f91bdcfc07c7b4e039fd91d40f57d5df8b
If the account creation user preference is not set on a new account, it will give null on /includes/Pages/PageViewRequest.php#L381
It will then process on line 392 and error in the allows function.

Ideally we either set this by default or force an error on to the user creation page.

Work around: Have user set a preference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions