CMS MADE SIMPLE FORGE

TinyMCE

 

[#12812] Automatic conversion of false to array is deprecated since PHP 8.1

avatar
Created By: Philippe Thomas (filto)
Date Submitted: Fri Dec 19 22:42:24 -0500 2025

Assigned To: Rolf (rolf1)
Version: 4.0.0-beta1
CMSMS Version: 2.2.22
Severity: Trivial
Resolution: None
State: Open
Summary:
Automatic conversion of false to array is deprecated since PHP 8.1
Detailed Description:
Enable "custom dropdown" in Plugins tab

result error

Deprecated: Automatic conversion of false to array is deprecated
in:\modules\TinyMCE\lib\class.tinymce_profile.php on line 447

(Implemented since PHP 8.1 : Deprecate autovivification on false)

on line 441 in:\modules\TinyMCE\lib\class.tinymce_profile.php

set $custom_dropdown_array to array instead false.

L 441
------------------------
$custom_dropdown_array = false;
$i = 0;
--- replaced by ----------
$custom_dropdown_array = array();
$i = 0;
------------------------


History