Fatal error: Cannot use object of type NbUser as array in /home/nextbbs/wwwroot/nextbbs.com/cpg/include/functions.inc.php on line 33

Notice: Undefined index: type in /home/nextbbs/wwwroot/nextbbs.com/nbbs_error_reporter.php on line 42
[nextBBS]

Notice: Trying to get property of non-object in /home/nextbbs/wwwroot/nextbbs.com/user.php (775)
at ss_write("417ec024f2ddd5265759dd76d693963c", "ID|i:-1;nextBBS|s:129:"a:3:{s:3:"uid";i:-1;s:7:"checker";s:32:"417ec024f2ddd5265759dd76d693963c";s:7:"userkey";s:32:"f2046dee76afe698872312f7f7b32a5c";}";") (?)

Source Code:
766
767function ss_write$aKey$aVal )
768{
769    global $MAIN$HACKS;
770    $aVal addslashes$aVal );
771
772    $r $HACKS->hook('sessionwrite', array('key'=>&$aKey'value'=>&$aVal));
773    if($r!=null) return $r;
774
775    $qry "UPDATE {$MAIN['config']->dbprfx}uniquesessions SET us_data = '$aVal', us_lastupdated = NOW() WHERE us_ID = '$aKey' AND server='{$MAIN['config']->server}'";
776    $MAIN['db']->query($qry);
777    return true;
778}
779
780function ss_destroy$aKey )
781{
782    global $CONFIG$DB$HACKS;
783
784    $r $HACKS->hook('sessiondestroy', array('key'=>&$aKey));
785    if($r!=null) return $r;

Variables: