bbeer Posted February 13, 2023 Posted February 13, 2023 (edited) we are getting following error PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /.... /wire/core/WireInput.php:371 after upgrading to php 8.1 Anyone else having this problem? Just for reference, changing line 371 from if(!strlen($key)) return $this->cookieVars; to if(!$key || !strlen($key)) return $this->cookieVars; seems to solve the problem. Edited February 13, 2023 by bbeer added possible solution
matjazp Posted February 13, 2023 Posted February 13, 2023 Yes, already reported here https://github.com/processwire/processwire-issues/issues/1467#issuecomment-1425013391 will be fixed in PW 3.0.212
froot Posted October 11, 2024 Posted October 11, 2024 I'm on 3.0.241 and still seeing it… But I'm getting the error inside the FieldtypeTable
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now