How to get immediate children of a ‘term’ parent id through ‘get_terms’?

You’ve set number to 0, so it will do as told and return 0 terms. Remove the number argument if you want all matching terms.

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