Custom taxonomy archive is visible to only subscibed users

I do not in the world know why this works. Yet it does. For future reference…

function remove_meta( $query ) {
    $query->set( 'meta_query', false );
}
add_action( 'pre_get_posts', 'remove_meta' );

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