Bug New entity default values do not match type hints resulting in common "Argument #n ($string) must be of type string, null given" errors

There is a bug in this version
X

Xon

Guest
XF\Criteria\UserCriteria::_matchEmailSearch fails for guest users

Code:

Code:
TypeError: XF\Util\Str::strtolower(): Argument #1 ($string) must be of type string, null given, called in /var/www/html/src/XF/Criteria/AbstractCriteria.php on line 206 src\XF\Util\Str.php:210
Generated by: Unknown account Aug 17, 2024 at 9:11 PM

Code:

Code:
Stack trace
#0 src\XF\Criteria\AbstractCriteria.php(206): XF\Util\Str::strtolower(NULL)
#1 src\XF\Criteria\UserCriteria.php(101)...

Read more

Continue reading...