logger is a static property, please change this (and the other change on line 821) to self::$_logger