Undefined property: stdClass::$labels in general-template.php post_type_archive_title()

%1$s besuchenUndefined property: stdClass::$labels in general-template.php post_type_archive_title()

Since the is_post_type_archive flag is true, it assumes the queried object is a post type, and tries to access an undefined property of what is actually a term object.