loading javascript CDN with local fallback (not jQuery)

The order of your hooks will cause issues since your loading gavsiu_scripts via wp_enqueue_scripts and your using it to also load your fallback function using script_loader_src.

As far as I can tell the only good way to load a fallback script is to not use wp_enqueue_scripts and instead just load your js into wp_head or wp_footer, as per the example in your link.

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