Well - line 116 is this:
(NULL, '".addslashes($username)."', '".addslashes($password)."', '".addslashes(IPADDRESS)."', ".iif(getop('moderate'), 3, 2).", '".addslashes($altemail)."', ".getop('defaultskin').", ".getop('defaultlang').", '".addslashes($realname)."', ".TIMENOW.", ".TIMENOW.", '".addslashes(USER_DEFAULTCOLS)."', '$birthday', '".addslashes($question)."', '".addslashes(md5($answer))."', '".addslashes($country)."', '".addslashes($state)."', '".addslashes($zip)."', $defuseroptions[0], $defuseroptions[1], '".addslashes($username.$domain)."', 'Verdana|10|Regular|Black|None', ".addslashes(floatme($timezone)).", ".intval($DB_site->get_field('SELECT soundid FROM hive_sound WHERE userid <= 0 ORDER BY userid LIMIT 1')).", '".addslashes($domain)."', '".addslashes($username)."')
The error means you are calling a function outside of the class which it's in. There are some functions in there, like "getop" which I'm not familar with. They may be something specific to hivemail and the class hasn't been called.
Also that get_field function. It may be part of a different class.