I am using update_option function to update theme options programatically but page needs to be refreshed many time for changes to reflect!

I am using update_option function to update theme options programatically but page needs to be refreshed many time for changes to reflect!

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