Skip to content

Warning issued when logging in. #1

@netcarver

Description

@netcarver

Niklas,

Just come across this running your module on PW dev branch on a box running xdebug. Logging into the site as superuser is causing a warning on L126 indicating that the first argument to array_key_exists() is not a string or integer. Sure enough, on login, the value of $this->page->process is coming back false. I'm not sure why - perhaps one of the other myriad modules I have installed is interfering but I added...

if(!is_string($this->page->process)) return;

before L126 and all is cured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions