When using Tribe Events Calendar, querying for a specific event category returns nothing

Okay so it turned out to be that I was using the incorrect action name. I changed "init" to "wp_loaded" in add_action() and that did the trick.

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