Archive Page Not Found on Custom Post Type

You need to declare 'has_archive' => true in the arguments array you pass to register_post_type(). The default value is false, which means that WordPress does not generate an archive index for the post type.

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