I've been having some trouble with the gallery uploads, for some reason I have only been able to put my LO in one category & I can't copy it over to any other galleries. When I upload a layout the following error message is above the area where I would normally choose one or more galleries.

Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in [path]/gallery/templates/vb4enhanced/bulkupload.tmpl on line 287