Php 8 null safe operator

Created on 7 September 2022, over 2 years ago
Updated 4 February 2025, about 1 month ago

Problem/Motivation

The null safe operator does not work in lower versions of php. Understandably this module requires php 8 but for our usage we needed to still use php 7.4.

Steps to reproduce

Using an environment set up using php 7.4 visit /admin/reports/status. White screen will appear.

Proposed resolution

I will provide a null check through an if statement in a patch if others run into the same issue.

πŸ› Bug report
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States evanjenkins

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