Lakshan-Madushanka/laravel-comments

$guestModeEnabled must not be accessed before initialization

Closed this issue · 2 comments

Thanks for this great package! Maybe i'm doing something wrong but when i place a comment and then reply on anotrher comment it works perfect, but when i refresh the page and do a reply without first making a comment i'm getting: $guestModeEnabled must not be accessed before initialization. I tried including 'protected $guestMode = false; // Auth mode;' in my 'post' model but that gives me the same error... Any idea? Regards... Aat

@aatvanrees Sorry for the inconvenience. This is a bug that I had noticed before but forgot to fix. Give me a moment, I'll fix this sooner.

Wow, that was extremely fast... Thanks for the update!