What is the meaning or function of this notice?

The post_permalink is outdated, you need to use the get_petmalink().
Check the follow link for more information: get_permalink()

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