Getting taxonomy category Image from ACF [closed]

Make sure you are using version 5.5.0 or newer since only that version support the format

'term_' . $id

Try passing $cat as the second parameter to the_field().

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