How to add a custom taxonomy to a custom post type’s document tab

If you’re using the Block Editor you also need to add 'show_in_rest' => true for the taxonomy. You only have it for the CPT currently.

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