buddypress bp_core_add_message() doesn’t fire why? [closed]

Messages posted with bp_core_add_message() are stored in a cookie, and then rendered to the screen at the 'template_notices' hook (either on the current pageload, or the next one, whichever comes first). It’s likely that the template you’re using doesn’t fire 'template_notices'.

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