WordPress giving a 404 page when passing a year argument different than the current year

Ok the problem was with using ‘year’ as the argument name, if I changed it to something else such as ‘y’ it seems to work.

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