Template selection area is not visible on page editor sidebar in wordpress twentty sixteen default theme

Twenty Sixteen does not contain any post type templates by default, thus no template selection is shown.

Adding a custom foo.php file to the wp-content/themes/twentysixteen folder with the following content works just fine and reveals the template selection meta box (title: “Page Attributes”):

<?php
/**
 * Template Name: Foo Bar
 * Template Post Type: post, page
 */

 // Do some stuff…

It also works for pages only using Template Name without Template Post Type:

<?php
/**
 * Template Name: Foo Bar
 */

 // Do some stuff…

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