Action when sidebars updated

I think this one is what you need: sidebar_admin_setup

More info: https://codex.wordpress.org/Plugin_API/Action_Reference/sidebar_admin_setup

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