Project

General

Profile

Actions

Bug #6897

closed

Test and fix PHP 7.2 compatibility issues

Added by krileon almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
30 November 2017
Due date:
% Done:

100%

Estimated time:

Description

Appears to be PHP 7.2 compatibility issues that need to be fixed before the PHP 7.2 update is pushed to hosting providers. Below reported issues thus far.

\libraries\CBLib\CB\Legacy\cbPluginHandler.php line 223
if ( count( $ids ) == 0 ) {

$ids is not always an array (it can be null) so calling count on it now throws a notice in PHP 7.2.

Actions

Also available in: Atom PDF