Custom Query Pagination not working on static front page

It should be paged and not page

'paged' => $currentPage

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