Updating failed message when a wp_insert_post function is hooked to save_post hook

Updating failed message when a wp_insert_post function is hooked to save_post hook

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