Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to a member function setCookie() on null #40

Closed
jumenitech opened this issue Jul 30, 2018 · 4 comments

Comments

@jumenitech
Copy link

jumenitech commented Jul 30, 2018

I get this error when i try to access the site after i implemented the package on my site

// If don't has any guard follow the flow
        if (empty($guards)) {
          return $this->authenticate($guards);
       }

i fixed it by returning changing the method in MultiAuthenticate middleware class like so

// If don't has any guard follow the flow
        if (empty($guards)) {
           $this->authenticate($guards);
           return $next($request);
         }

maybe im doing something wrong.... but after that change, everything works perfectly

@pedmindset
Copy link
Contributor

Had the same issue, this fixed it

@sfelix-martins
Copy link
Owner

Thanks brow. Please create a pull request.

@pedmindset
Copy link
Contributor

pedmindset commented Jul 31, 2018

Ok will do that, will use my personal account rather than the company account @Jumeni

@sfelix-martins
Copy link
Owner

Ok @pedmindset . I am waiting. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants