Using the loop to set locations for all posts on a single google map

I have managed to find the problem.

Basically calling the google API from the footer was causing the maps to break and not function properly.

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