CMS MADE SIMPLE FORGE

SmartyExt

 

[#12738] files_list plugin has debug info, not php 8.x compatible

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Sat Jun 29 11:21:15 -0400 2024

Assigned To:
Version: 1.3.0
CMSMS Version: 2.2.21
Severity: None
Resolution: None
State: Open
Summary:
files_list plugin has debug info, not php 8.x compatible
Detailed Description:
When using files_list, it displays debug info from line 1420 in
SmartyExt/lib/class.smarty_functions.php
If that section is commented out, it generates a 500 error:
PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be
of type array, null given in
/path/modules/SmartyExt/lib/class.smarty_functions.php:1428


History