Why my filterable portfolio page work not perfectly between slug button and slug output WORDRPESS?

Solved, The problem at this part pf-, so, i just need to change that a little bit, from this pf-<?php echo $terms_ourworks[0]->slug; to this <?php echo $terms_ourworks[0]->slug; ?>

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