Query_vars not working for me

My issue was with nginx, specifically:

location / {
   index index.php index.html;
   try_files $uri $uri/ /index.php;
}

Which I changed try_files $uri $uri/ /index.php; to try_files $uri $uri/ /index.php?$args; as outlined here which also fixed another issue that I was having with URL parameters.

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