Problem with add_rewrite_tag

cat is a reserved query variable used for the ID of a post category.

To avoid conflicts with WordPress and/or other plugins and themes I’d recommend you ‘namespace’ your query variables eg eddh_cat instead of cat

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