Enqueue WordPress plugin scripts below all other JS

Try and use/add the priority parameter of the hook for app.js and see if it works.

add_action( 'wp_enqueue_scripts', 'my_scripts', 1 );

By default it is 10, so lets call it early and see if this works for you

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