Undefined offset: 2 in function WKB->getPoint()

Created on 26 May 2020, over 4 years ago
Updated 1 November 2023, about 1 year ago

After moving my project to hosting with PHP 7.4 I'm getting this error:

Undefined offset: 2 in function WKB->getPoint() (string 89 in file ../public_html/sites/all/modules/geophp/geoPHP/lib/adapters/WKB.class.php).

This string on getPoint function returns only 1 param instead of 2:
$point_coords = unpack("d*", fread($mem,$this->dimension*8));

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡บRussia oksale

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

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