running composer update and getting latest version does not solve the issue.
Which operating systems have you tested for this bug?
macOS
Which server did you use?
cli-server (PHP built-in webserver)
Database
5.7.34
Did you customize Shield?
Nothing has been customised.
What happened?
I tried to get a magic login link because I forgot the password and when I clicked the send button, an error exception page loads with the error:
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
Steps to Reproduce
Click to get a magic link, enter your email address and click send.
Expected Output
No error and a magic link to be sent to my email address.
Anything else?
I suppose its linked to me using the latest PHP version 8.2, but I do not want to modify the core Shield files so if there is anyway to override the logic somewhere else.
PHP Version
8.2
CodeIgniter4 Version
4.2.8
Shield Version
running composer update and getting latest version does not solve the issue.
Which operating systems have you tested for this bug?
macOS
Which server did you use?
cli-server (PHP built-in webserver)
Database
5.7.34
Did you customize Shield?
Nothing has been customised.
What happened?
I tried to get a magic login link because I forgot the password and when I clicked the send button, an error exception page loads with the error:
preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated
Steps to Reproduce
Click to get a magic link, enter your email address and click send.
Expected Output
No error and a magic link to be sent to my email address.
Anything else?
I suppose its linked to me using the latest PHP version 8.2, but I do not want to modify the core Shield files so if there is anyway to override the logic somewhere else.