Custom taxonomy terms not showing as list Gutenberg Editor WordPress

I found the problem. I was registering a custom post type with the same name ‘location’ as the taxonomy. Renaming one of the two did the job for me.

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