Warning after create Custom post type with Roots theme

Solved, it was a problem with the custom-post-types.php I was calling the type with the name 'post_type' changed that solved the issue.

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