add_action does not work when instance multiple tab-containers via template-file

I guess that you call the_tabs function (so add your actions to hooks) too late (after these hooks were fired).

For example if you call it in some template file (i.e. single.php) after wp_head function call, your filters won’t run – you add them to this hook after it already was fired.

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