You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 10.4-28
Did you customize Shield?
No
What happened?
After updating to Codeigniter 4.5 through composer update, (and copying the required files), also after and fresh installation of a new project through Composer, the Login and Register pages return the following error:
kenjis
changed the title
Bug: After registration/ login, "Error: Call to a member function getErrors() on null"
Bug: After registration/login, "Error: Call to a member function getErrors() on null"
Apr 8, 2024
kenjis
changed the title
Bug: After registration/login, "Error: Call to a member function getErrors() on null"
Bug: [CI 4.5.0] After registration/login, "Error: Call to a member function getErrors() on null"
Apr 8, 2024
PHP Version
8.2.4
CodeIgniter4 Version
4.5.0
Shield Version
1.0.2
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MariaDB 10.4-28
Did you customize Shield?
No
What happened?
After updating to Codeigniter 4.5 through
composer update
, (and copying the required files), also after and fresh installation of a new project through Composer, the Login and Register pages return the following error:Call to a member function getErrors() on null
The registration was successful with a new entries in the users and identities tables.
When a validation error does occur, the proper errors are displayed as intended.
Steps to Reproduce
As said above this happened after composer update and new installation of latest Codeigniter version. No changes to Shield Controllers or routes.
Expected Output
We should be redirected to the default pages on success.
Anything else?
No response
The text was updated successfully, but these errors were encountered: