wp_localize_script & wp_enqueue_script not working in front end

May be try get_template_directory_uri() instead of get_stylesheet_directory_uri(),
if your js file is in your theme, it should work frontend.

little help I know^^

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