lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
637 stars 208 forks source link

After update Codeigniter to 4.4.0 version, it thrown error Attempt to read property "driver" on null #605

Closed faudzanfadhli closed 1 year ago

faudzanfadhli commented 1 year ago

After upgrading codeigniter to version 4.4.0, it thrown an error refers to: SYSTEMPATH\Config\Services.php at line 670. I was used the latest version of Myth Auth v1.2.

manageruz commented 1 year ago

Hi @faudzanfadhli Please check your CI's config and .env file parameters. It should be something wrong with them after update. Please refer to the https://codeigniter.com/user_guide/installation/upgrading.html part of the CI userguide.

manageruz commented 1 year ago

Myth Auth version 1.2 is working well with the latest CI 4.4.1

faudzanfadhli commented 1 year ago

I was check CI's config and the .env file but the error still appear. So I create a new blank CI4 project with latest version, install the library and rewrite the whole of my project code. Thank you for commenting on this issue.