Missing argument for the function

The action is called without any variables:

do_action('admin_notices');

So you don’t get $error_token and $error_tag.

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