Fread argument length must be greater than 0

Created on 2 October 2023, 9 months 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

Needs review

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

Comments & Activities

Production build 0.69.0 2024