WordPress get_template_part() function not working

Looks like your problem is in the content-project.php file.
Whenever using WP_Query() make sure to use wp_reset_postdata(); Additional details can be found here

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