Skip to content

E_ERROR: Call to a member function hasLastUrl() on null #36

Description

@aingham

Hi,

Recently we've been getting the above error using vsn 1.5.0 of Recaptcha. Error is coming from line 67 of Helper/Redirect.php, and looks as though it's not checking that $this->_session actually exists before accessing its hasLastUrl() method. I checked in latest 1.5.7 code and doesn't look as though any recent changes in this area.

I'd be happy to submit a code change to address this, but not sure how to create a unit test for it.

Andy Ingham

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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