How to load parent theme template parts in child theme

From the WordPress documentation on child themes (Referencing or Including Other Files):

To reference the parent theme directory, you would use
get_template_directory() instead.

Therefore, in your child theme, you could include your parent template file like this:

<?php
include get_template_directory() . '/template_parts/layouts/profile/profile-modern.php';
?>

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