- 🇸🇮Slovenia KlemenDEV
Using version 1.9, I still get this error logged:
Passing null to parameter #1 ($string) of type string is deprecated in captcha_whitelist_ips_parse_values()
Since the recent upgrade from Version 1.3 to 1.4 the following error message appears by trying to log in:
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in captcha_whitelist_ips_parse_values() (line 727 of modules/contrib/captcha/captcha.module).
For the following system:
Ubuntu 20.04.4 LTS
Drupal 9.4.3
PHP 8.1.8
MariaDB 10.6.8
Upgrade using composer update. Present captcha Version 1.3 is upgraded to 1.4. Try to log in. => error message appears as mentioned above.
Fallback to captcha version 1.3
Check: line 727 of modules/contrib/captcha/captcha.module
Fixed
1.4
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Using version 1.9, I still get this error logged:
Passing null to parameter #1 ($string) of type string is deprecated in captcha_whitelist_ips_parse_values()