How to retreive terms associated with a custom post type?

According to the function definition, wp_get_object_terms() throws an error if it can’t find your taxonomy – and returns an empty array if there aren’t any taxonomy terms attached to that post. Have you made sure you’ve assigned a prod_cat to the custom post you’re looking at?

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