declared variables in widget function that cause unknown object errors 

Line 261
$before_widget = '';
        $before_title  = '';
        $title = '';
        $after_title = '';
        $after_widget = '';