Loading jQuery UI in the head

Actually. This answer is the only correct answer.

If you need jQuery for a certain script just add it as necessary in the jQuery array.

wp_register_script( 'ytc-admin-scripts', YTC_URL . 'admin/admin-functions.js', array( 'jquery','jquery-ui-slider' ), '1.0');

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