Get image data from advanced custom field [closed]

To retrieve things out of a category, it’s not quite as easy as passing just the category ID.

All taxonomies use the same layout: '{taxname}_{term_id}'

So, your example would be

$category_image = get_field( 'featured_image', 'category_' . $category_id );

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