laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

Call to a member function isDisabled() on null #216

Closed Vortelf closed 5 years ago

Vortelf commented 5 years ago

This is a bug.

Prerequisites

Description

Followed the instructions as described. Used yarn dev and .env.testing Nothing changed in the config. Whenever I try to login I get Error 500 containing

[2019-04-22 17:41:09] testing.ERROR: Call to a member function isDisabled() on null {"userId":1,"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function isDisabled() on null at /home/vortelf/Projects/Enso/vendor/laravel-enso/core/src/app/Http/Middleware/VerifyActiveState.php:12)

Content of $request @ VerifyActiveState

Accept:           application/json, text/plain, */*
Accept-Encoding:  gzip, deflate
Accept-Language:  en-US,en;q=0.5
Connection:       keep-alive
Cookie:           XSRF-TOKEN=eyJpdiI6Im1yRE5FdDBpUHZCaHlsbkw5UVdTOUE9PSIsInZhbHVlIjoieUcrd1wvd2sxbXYyUjRpczBRQ1pUa0E1M0FwWW5waERGeFNrcGVHUjVcLzlUTWNNV0hUYU50MUFkMk5zTnU5eGFJIiwibWFjIjoiZGU5NjBkZDVmMzlkMGVmYTNlNzY4OTI0YTViZjkwMzU1MWFjZGZhMTY2ZjhiMDRmNjNmNTRmMDU1OWRiYjM2YyJ9; app_session=eyJpdiI6IjRZN3FrMDQzMkErOFZFTGRURjNFRXc9PSIsInZhbHVlIjoiTGphVlNEc2l0QVlVQUtqVkZ1S3V6TURwUXF1QVY2b1p6OUZqQXFKZFAreFFjM0xza1pJR2pFcWdybnhKODVIYiIsIm1hYyI6IjU5YjFmODNmNzY1MWU3MGQ3OWI1YmE4OTNmMWQzM2RlNDY3ZjhmZjM3MmM0OGQ3YmE2ODJhNDViMWU4OTg0YTgifQ%3D%3D
Host:             localhost:8000
Referer:          http://localhost:8000/login
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
X-Csrf-Token:     ztsIccwGtO9k4yWtppoVfljnll2jHci7HDHKaI3k
X-Requested-With: XMLHttpRequest
X-Xsrf-Token:     eyJpdiI6Im1yRE5FdDBpUHZCaHlsbkw5UVdTOUE9PSIsInZhbHVlIjoieUcrd1wvd2sxbXYyUjRpczBRQ1pUa0E1M0FwWW5waERGeFNrcGVHUjVcLzlUTWNNV0hUYU50MUFkMk5zTnU5eGFJIiwibWFjIjoiZGU5NjBkZDVmMzlkMGVmYTNlNzY4OTI0YTViZjkwMzU1MWFjZGZhMTY2ZjhiMDRmNjNmNTRmMDU1OWRiYjM2YyJ9
Cookie: XSRF-TOKEN=ztsIccwGtO9k4yWtppoVfljnll2jHci7HDHKaI3k; app_session=LkH2BkUmwN44wJtcIPneiy7bzZUYU5V63RkLpgth
aocneanu commented 5 years ago

Followed the instructions as described.

You're trying to set up a fresh enso?