parent page grabbing wrong url for child pages – get_page_uri($pageChild)

if you look into the html in the browser, you should see that the function is outputting a relative link uri;

is there any reason why you are trying to use get_page_uri() instead of get_permalink() ?

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