PHP 8.1 Update Issue

Created on 16 March 2023, over 1 year ago
Updated 28 June 2023, 12 months ago

After updating to PHP 8.1, I get this error while using the module:

Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\smart_ip\SmartIp::query() (line 30 of modules/contrib/smart_ip/src/SmartIp.php).

I've provided a patch that fixes this issue.

πŸ› Bug report
Status

Closed: duplicate

Version

4.2

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada ericawright

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

Comments & Activities

Production build 0.69.0 2024