Actually, if you read carefully, the file name and line number is just in the first lelebart’s post.
hi lelebart
$total_results = $wpdb->prepare( “SELECT COUNT(‘%s’) FROM $wp_dlm_db;”, id );
Just a little thing more, when I add a download to a post, the list to choose the output format doesn’t work, perhaps someone has an idea? but it’s just a detail.
good luck