Roles and Capabilities in Custom Post Types

According to register_post_type() documentation capability_type argument is used to construct capabilities.

I think since you are customizing it for the post type, its capabilities requirements won’t be formed like read_post but like read_an_group.

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