if file_exists not working with wp_enqueue_style

URL path can’t be passed to file_exists

PHP: file_exists – Manual

Use get_template_directory() or get_stylesheet_directory() instead:

if(file_exists(get_template_directory()./path/file.css'))

as that returns server path

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