Child categories doesn’t echo if it doesn’t contain at least a post

By default, get_categories() won’t return terms that have no posts (the hide_empty parameter is true).

This should do it:

$children = get_categories(
    array(
        'parent'     => 923,
        'hide_empty' => false,
    )
);

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