wp_list_pages: only show subpages on the parent page?

This would probably be better achieved using CSS. First, you hide all .children:

.page_item .children {
  display: none;
}

Then, you show the current_page_item’s children:

.current_page_item .children {
  display: block;
}

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