Get the list of post categories

To get categories assigned to the current post, use get_the_category().

get_categories() is designed to get a list of all categories on the site.

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