WordPress custom search only works from some pages

The solution (from the Dev) was to add a “/” before the first “?” in the code below for each of the three drop down search options. <a href=”#” data-href=”?lang=

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