Hello,
For a client I am migrating a number of sites to a PHP 7.2 platform and I get the following warning:
Deprecated function: Function create_function() is deprecated in bueditor_icons() (regel 930 van bueditor/admin/bueditor.admin.inc).
I looked in the code but see no obvious way to patch this. The code is
/**
* Load icons in the path
*/
function bueditor_icons($path) {
$icons = file_scan_directory($path, '/\.(png|gif|jpg)$/', array('recurse' => FALSE, 'key' => 'filename'));
array_walk($icons, create_function('&$value', '$value = 1;'));
return $icons;
}
Will the module be compatible with PHP 7.2 (and higher)?
Mvgr, Louis Nagtegaal
Comments
Comment #2
daiwik.addweb commented@louisnagtegaal, Please find the below attached for the issue that mentioned, hope this will helps!.
Thanks
Comment #3
hitchshockWe have several deprecated features in the project, so we have to fix all of them
Comment #5
ufku commentedCommitted. Thanks.