404 error when passing “cat” parameter to URL

Probably WordPress gets “cat” as a category query and tries to load it.
Tested in a project of mine and I also get a 404 error.

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