Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /app/docroot/modules/contrib/restrict_by_ip/src/RoleFirewall.php on line 47

Created on 23 June 2022, over 2 years ago
Updated 30 May 2024, 7 months ago

Problem/Motivation

After upgrade to php 8.1, strlen() function is deprecated.

Steps to reproduce

Upgrade php version to php8.1

Proposed resolution

Change strlen() to empty()

Remaining tasks

No

User interface changes

No

API changes

No

Data model changes

No

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΉπŸ‡ΌTaiwan cobenash Taipei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024