PHP 8.0 compatibility

Created on 28 July 2022, over 2 years ago
Updated 10 August 2023, over 1 year ago

Problem/Motivation

The module is generating two Deprecated notices while being used with PHP 8.0

Deprecated: Required parameter $options follows optional parameter $data in /root/docroot/profiles/utcfs/modules/contrib/countries/countries.module on line 1102

Deprecated: Required parameter $name follows optional parameter $data in /root/docroot/profiles/utcfs/modules/contrib/countries/countries.module on line 1102

Proposed resolution

Just removing the first optional parameter should be sufficient.

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡ΏCzech Republic mvantuch

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.

Production build 0.71.5 2024