PHP 7.4 deprecated | PHP 8.0 incompatible use of implode()

Created on 23 July 2021, over 3 years ago
Updated 19 April 2023, over 1 year ago

Problem/Motivation

The current use of implode() in ContentModifyManager.php is deprecated in PHP 7.4 and incompatible with PHP 8.0:

$digest_nodes = $newline . implode($nodes, $newline);

Proposed resolution

Change the call to:

$digest_nodes = $newline . implode($newline, $nodes);

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇳🇱Netherlands Marty2081

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