Follow

@dansup quick question, any reason I'd get an error immediately after registration on my instance? (After navigating to another page and resending the email I'll get it and it works fine, but the verification email isn't immediately sent)

@jonah Check the logs in /storage/logs/laravel.log

@dansup ah fantastic, didn't know where that was. Seeing this (and then 75 stacktrace lines), any thoughts?:

[2019-06-20 04:24:45] production.ERROR: Trying to get property 'id' of non-object {"userId":1,"exception":"[object] (ErrorException(code: 0): Trying to get property 'id' of non-object at /var/www/mnphotos/app/Listeners/AuthLogin.php:127)

@dansup well like I said, everything seems to work after manually resending the validation email and signing in again. It just seems like unexpected behavior for new registrations.

@jonah Was is the first user registration on that instance? There is a bug with that, and I've been trying to fix it forever 😅

@dansup it was! But... I just tried registering another user and same deal:

[2019-06-20 04:36:31] production.ERROR: Trying to get property 'id' of non-object {"userId":2,"exception":"[object] (ErrorException(code: 0): Trying to get property 'id' of non-object at /var/www/mnphotos/app/Listeners/AuthLogin.php:127)

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. privacytools.io provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on Patreon and Liberapay!