You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working for me.
Since $query->fetch() returns NULL for empty name fields, it should be fine to cast that to an empty string. But maybe it would be more efficient to do this on the query level?
Inserting this after l 616 also solves the problem for me:
Short description of the issue
Deprecation warning with PHP 8.1:
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
https://github.com/processwire/processwire/blob/a3cc73bd87c3fed53a2afd52f36acd568df588ff/wire/modules/PagePaths.module#L638
Expected behavior
No warnings
Actual behavior
Warnings
Steps to reproduce the issue
install PagePaths module on PHP >= 8
Setup/Environment
The text was updated successfully, but these errors were encountered: