Return the name of the post type

Figured it out:

<h1 class="archive-title">
  <?php echo get_post_type_object( get_post_type() )->label; ?>
</h1>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)