Problem/Motivation

The shmop_close() function is DEPRECATED as of PHP 8.0, but is used in ip2location/ip2location:^8.0

Proposed resolution

Use the latest version of ip2location/ip2location, ^9.0

Remaining tasks

Update composer.json

CommentFileSizeAuthor
#3 3409808-3.patch423 bytesjofitz
#3 interdiff--3409808--2-3.txt357 bytesjofitz
#2 3409808-2.patch327 bytesjofitz

Issue fork smart_ip-3409808

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jofitz created an issue. See original summary.

jofitz’s picture

Assigned: jofitz » Unassigned
Status: Active » Needs review
StatusFileSize
new327 bytes

Created patch

jofitz’s picture

StatusFileSize
new357 bytes
new423 bytes

Include requirements from ip2location-php composer.json

heddn made their first commit to this issue’s fork.

  • heddn committed de01c459 on 5.0.x
    Issue #3409808: PHP 8.x: Call to deprecated function shmop_close()
    
heddn’s picture

Status: Needs review » Fixed

This takes a slightly different approach. But same result.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.