add_action second argument missing

You have to say how many parameters your callback function needs. The default is 1, so WordPress will pass just $a. To get more parameters, use the fourth argument for add_action():

add_action('test', 'testing', 10, 2 );

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