Wp-pagenavi giving page not found on clicking page 2

I solved this by changing the urls… seems such a stupid mistake now!

I had the same url for the page as the taxonomy and they were clashing. As soon as I renamed the page url the pagination worked.

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