Problem with “is_user_logged_in()” and woocommerce (Code for custom media upload for each author.)

Problem with “is_user_logged_in()” and woocommerce (Code for custom media upload for each author.)

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