Error when searching without any results

You call $page_current_id = get_page_id(); in tube_getcustomfield(). Add a name to this call.

This isn’t exactly a WordPress question. 😉

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