Using depth=n in wp_list_pages

depth=n2 should be depth=2. n is just a “placeholder” and should be replaced by the actual integer value of your choice

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