Remove a div with ID from the_content WordPress

with the_content filter hook you can modify the content using PHP preg_replace search and replace

function remove_specific_wrapper($content) {
    $content = preg_replace('#<div[^>]*id="some_id"[^>]*>.*?</div>#is', '', $content);
    return $content;
}
add_filter('the_content', 'remove_specific_wrapper');

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