lonnieezell / Bonfire2

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

Error after input user at installation step #404

Open negribyteid opened 9 months ago

negribyteid commented 9 months ago

I found some errors tonight I have repeat and repeat reinstall again. My environment using php version 8.1.5 Windows 10 using Laragon. After i input email, name, username and password the terminal said ERROR with this information :

[Error] Call to undefined function CodeIgniter\Shield\Authorization\Traits\setting() at VENDORPATH\codeigniter4\shield\src\Authorization\Traits\Authorizable.php:397

I don't know what is it? Is that bug or i have missed something? I have re-setup 4times at different environment, Win10, Ubuntu 22.04, and Win11 still the same.

Need some help Thank you.

datamweb commented 9 months ago

BF2 uses the Shield develop branch, so you need to follow the instructions below:

https://github.com/codeigniter4/shield/blob/develop/UPGRADING.md

If you can send a PR for the fix.