WordPress error when sending comment

I’m using the “comments_template()” function with no additional parameters, which loads the default “comments.php” from the wp-includes library.

That’s your problem.

The compat version is unmaintained and obsolete. Theme-compat files are officially no longer supported, as of WordPress 3.0. (See here.)

You need to define and include comments.php in your Theme.