: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
jQuery.fn.elfinderoverlay = function(opts) {
var fm = this.parent().elfinder('instance'),
this.filter(':not(.elfinder-overlay)').each(function() {
opts = Object.assign({}, opts);
jQuery(this).addClass('ui-front ui-widget-overlay elfinder-overlay')
.on('mousedown', function(e) {
show : typeof(opts.show) == 'function' ? opts.show : function() { },
hide : typeof(opts.hide) == 'function' ? opts.hide : function() { }