Custom loop won’t work, can’t find problem

This worked, thanks to advice from above (this is a simplified version):

    $args = array('post_type' => 'event');
    // The Query
    $the_query = new WP_Query( $args );

    // The Loop
    while ( $the_query->have_posts() ) : $the_query->the_post();

deneme bonusu veren sitelerbahis casinomakrobetceltabettipobet365pinbahispolobet