scroll scrpit to particular button position to next id when click button

You should place the whole function/script inside a so called IIFE like this:

(function($){

    //your code

})(jQuery);

In WordPress the $ isn’t attached to jQuery by default due to possible conflicts with other JavaScript libraries.

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