Listing events by categories and show category meta info (The Events Calendar) [closed]

Since you know you want only the first one and you’re not using a typical loop, you’re already using an array of posts, you can just do
setup_postdata($events[0]);

and then get your data from the first item here

then continue your loop as written if it’s working as happily as expected.

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