Prevent authors from creating new posts of specific custom-post-type

try my plugin Posts Creation Limits which was made for that same reason.

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