Custom post type cannot access child page

You need to add ‘page-attributes’ to ‘supports’ in your arguments for registering the custom post type.

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