Usage of wp_send_json_success and wp_redirect at the same time

Usage of wp_send_json_success and wp_redirect at the same time

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