How to only show ACF field if another block is being used?

How to only show ACF field if another block is being used?

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