Title: error in SQL syntax
Last modified: January 4, 2021

---

# error in SQL syntax

 *  Resolved [ecstoreweb](https://wordpress.org/support/users/ecstoreweb/)
 * (@ecstoreweb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-14/)
 * Hi
 * I’m getting following message in error_log_php. We are using latest version of
   the plugin inside a woocommerce product page.
 * settings are
    Hide reviews, leave only rating header
 * widget shows fine in frontend without reviews as expected but I get this error
   message in the log file
    ——————- Unknown column ‘hide’ in ‘where clause’ per 
   la query SELECT * FROM wp_grp_google_review WHERE google_place_id = 1 AND hide
   = ” AND language = ‘it’ ORDER BY time DESC fatta da require(‘wp-blog-header.php’),
   require_once(‘wp-includes/template-loader.php’), include(‘/plugins/woocommerce/
   templates/single-product.php’), wc_get_template ……. ——————-
 * thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-14/#post-13863180)
 * Hi [@ecstoreweb](https://wordpress.org/support/users/ecstoreweb/),
 * First of all, try to reinstall the plugin from scratch:
 * 1. Save Google Places API key and your Place ID somewhere except the plugin;
   
   2. Go to the page: WordPress Settings / Google Reviews Widget / Advance tab; 
   3. Click ‘Install from scratch’; 4. Paste your Google Places API key to the settings;
   5. Reconnect your Place ID for all widgets and shortcodes.
 * Let me know how it goes.
 * Thanks!
 *  Thread Starter [ecstoreweb](https://wordpress.org/support/users/ecstoreweb/)
 * (@ecstoreweb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-14/#post-13863776)
 * thanks for your answer
 * I did what you suggested and the problem is solved
    -  This reply was modified 5 years, 4 months ago by [ecstoreweb](https://wordpress.org/support/users/ecstoreweb/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error in SQL syntax’ is closed to new replies.

 * ![](https://ps.w.org/widget-google-reviews/assets/icon-256x256.gif?rev=3152314)
 * [Rich Showcase for Google Reviews](https://wordpress.org/plugins/widget-google-reviews/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-google-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-google-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-google-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-google-reviews/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ecstoreweb](https://wordpress.org/support/users/ecstoreweb/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-in-sql-syntax-14/#post-13863776)
 * Status: resolved