lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton
MIT License
131 stars 50 forks source link

Call to a member function getGroups() on null #186

Open WebWanderer007 opened 2 years ago

WebWanderer007 commented 2 years ago

This is preventing performing a successful logout.

image

lonnieezell commented 2 years ago

Can you describe steps to recreate? If they passed the "logged in" check, then there should be a user available.

WebWanderer007 commented 2 years ago

https://screenrec.com/share/ylMLU5XGCe

check out this video, I recorded this while using bonfire. you will get to know how this error occurred.

vachzar commented 2 years ago

this was an error on codeigniter/shield, it fixed on develop-branch https://github.com/codeigniter4/shield/pull/211 you could require dev version of shield to fix it.