Hi,
Not sure if this function is an osTicket standard function or made by me cause i made so many changes over the original installation.
Anyway, go to \include\class.lock.php
Check if you have got this function (around line 108). If not, include it
function getLockName() {
$sql='SELECT firstname, lastname FROM ost_staff WHERE staff_id='.db_input($this->getStaffId());
$result = db_query($sql);
$cursor = mysql_fetch_row($result);
$username = $cursor ." ". $cursor;
return $username;
}
...and try again