wp_insert_post_data hook should be called before updating db but isn’t

wp_insert_post_data hook should be called before updating db but isn’t

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