Deprecated in PHP 8.0: Required parameter

Created on 11 July 2022, over 2 years ago
Updated 14 March 2023, almost 2 years ago

Problem/Motivation

Deprecated in PHP 8.0: Required parameter $id follows optional parameter $type in file
src/modules/contrib/openlayers/src/Types/Collection.php //239 line;

Deprecated in PHP 8.0: Required parameter $export follows optional parameter $object_type in file
src/modules/contrib/openlayers/src/Openlayers.php //106 line

Proposed resolution

if (empty($object_type)) {
      $object_type = NULL;
    }
if (empty($type)) {
      $type = array();
    }
πŸ› Bug report
Status

Needs review

Version

3.0

Component

OL API

Created by

πŸ‡ΊπŸ‡¦Ukraine Igumnov_aleksey

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

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.

  • πŸ‡¬πŸ‡§United Kingdom ken-g

    This issue should have been already resolved in 7.x-3.x-dev and released in 7.x-3.3.

    Please test with the latest release to see if this is still a problem here. Thanks.

Production build 0.71.5 2024