![]() |
I got error message:
DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string this error is show up when using filter: ' PHP Code: 'birth_date' => 'valid_date[d/m/Y]'
I don't know. How to reproduce?
Can't reproduce it.
PHP Code: <?php Code: $ php -v I was able to reproduce. If I don't send the field, the ErrorException occurs. I sent a PR https://github.com/codeigniter4/CodeIgniter4/pull/5804
Thanks, I will use your code as a solution for my problem until it gets patched?
|
Welcome Guest, Not a member yet? Register Sign In |