in_array not working on dev server but works on localhost

I’ve fixed it! It was the capitalisation. I edited the tags via tags menu section and now the products are displaying 🙂 thank you very much @Jacob Peattie

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