Fread argument length must be greater than 0

Created on 2 October 2023, about 1 year ago

Problem/Motivation

We are seeing the error
Uncaught PHP Exception ValueError: "fread(): Argument #2 ($length) must be greater than 0" at /code/web/modules/contrib/ip2location/src/IP2Location.inc line 1052
From some countries.

Steps to reproduce

Visit a site using the module eg from Rwanda

Proposed resolution

Ensure length > 0

Remaining tasks

Provide MR

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024