Rewrite rules causing hole

You don’t need to specify a pagename, if you want to replicate a post type archive set post_type instead.

function add_events_rewrite_rules(){
    add_rewrite_rule(
        'events/date/([^/]+)/?$',
        'index.php?post_type=events&_events_date=$matches[1]',
        'top'
    );
}
add_action( 'init', 'add_events_rewrite_rules' );

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