What is the best way to handle multiple calls to get_template_directory_uri() and similar functions?

I think there is zero performance issue regarding multiple uses of get_template_directory() (or any of its siblings). The return values of these functions are part of the cache. Multiple calls to these functions do not incur multiple database hits.

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