Allow add new post access to custom post but not wp post for some role

Allow add new post access to custom post but not wp post for some role

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