Fix typo with Util.logError calls

The `Util.logError` method was incorrectly called as `Util.logerror` in a few places.