Title: SQL error with Mantra theme
Last modified: August 31, 2016

---

# SQL error with Mantra theme

 *  [BenLinders](https://wordpress.org/support/users/benlinders/)
 * (@benlinders)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sql-error-with-mantra-theme/)
 * SQL errors are appearing in my log file, which I think are related to the Mantra
   theme:
 * [Sun Jan 24 09:47:37 2016] [error] [client 108.162.245.104] WordPress database
   error You have an error in your SQL syntax; check the manual that corresponds
   to your MySQL server version for the right syntax to use near ‘WHERE AND comment_parent
   IN (158014) ORDER BY comment_date_gmt ASC, comment_ID’ at line 1 for query WHERE
   AND comment_parent IN (158014) ORDER BY comment_date_gmt ASC, comment_ID ASC 
   made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.
   php’), include(‘/themes/mantra/page.php’), get_template_part, locate_template,
   load_template, require(‘/themes/mantra/content-page.php’), comments_template,
   WP_Comment_Query->__construct, WP_Comment_Query->query, WP_Comment_Query->get_comments,
   WP_Comment_Query->fill_descendants, W3_Db->query, W3_DbCache->query, W3_DbCallUnderlying-
   >query, W3_Db->query, W3_DbProcessor->query, W3_Db->default_query
 * website [http://www.benlinders.com](http://www.benlinders.com)
 * Is there error caused by the Mantra theme? How can I solve it?

The topic ‘SQL error with Mantra theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/mantra/3.3.4/screenshot.png)
 * Mantra
 * [Support Threads](https://wordpress.org/support/theme/mantra/)
 * [Active Topics](https://wordpress.org/support/theme/mantra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/mantra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/mantra/reviews/)

## Tags

 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * 0 replies
 * 1 participant
 * Last reply from: [BenLinders](https://wordpress.org/support/users/benlinders/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/sql-error-with-mantra-theme/)
 * Status: not resolved