PHP 8.1: Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

Created on 6 December 2021, almost 3 years ago
Updated 22 October 2024, about 1 month ago

We get the above error when testing with the newly-released PHP 8.1 (which is supported in Drupal 9.3.x).

This error occurs in both views_aggregator_count() and views_aggregator_count_unique()

See https://www.drupal.org/pift-ci-job/2256344 β†’

πŸ› Bug report
Status

Downport

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

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

    The issue particularly affects sites running on PHP version 8.1.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