Filter WP_Query output before it is accessed (pre_get_posts)?

Filter WP_Query output before it is accessed (pre_get_posts)?

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