Title: WordPress database error Unknown column
Last modified: January 4, 2018

---

# WordPress database error Unknown column

 *  Resolved [sfocus](https://wordpress.org/support/users/sfocus/)
 * (@sfocus)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-2/)
 * Hi there – I’m getting this error filling up my debug.log. Wondering if there’s
   something that can be done:
 * WordPress database error Unknown column ‘wp_postmeta.meta_value’ in ‘group statement’
   for query SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = ‘
   popup’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_postmeta.meta_value
   ORDER BY wp_posts.post_date DESC made by require(‘wp-blog-header.php’), require_once(‘
   wp-includes/template-loader.php’), include(‘/plugins/woocommerce/templates/taxonomy-
   product_cat.php’), wc_get_template, include(‘/themes/—/woocommerce/archive-product.
   php’), get_header, locate_template, load_template, require_once(‘/themes/-child/
   header.php’), wp_head, do_action(‘wp_head’), WP_Hook->do_action, WP_Hook->apply_filters,
   wp_enqueue_scripts, do_action(‘wp_enqueue_scripts’), WP_Hook->do_action, WP_Hook-
   >apply_filters, popmake_preload_popups, WP_Query->__construct, WP_Query->query,
   WP_Query->get_posts
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [Robert Gadon](https://wordpress.org/support/users/yogaman5020/)
 * (@yogaman5020)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-2/#post-9834207)
 * Hello [@sfocus](https://wordpress.org/support/users/sfocus/):
 * Well, what I can discern from your call stack is that you’ve published a popup(
   registered to the private post_type ‘popup’) on your site, and that the popup
   is being called by the ‘wp-blog-header.php’ file.
 * Are you currently running WP Popup Maker on your site, and do you have any popups
   published there? How are they performing?
 * If you’ve deactivated Popup Maker, any popup data that you previously registered
   in the database to post_type=’popup’ will remain until you manually delete that
   data from the database.
    -  This reply was modified 8 years, 5 months ago by [Robert Gadon](https://wordpress.org/support/users/yogaman5020/).

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error Unknown column’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Robert Gadon](https://wordpress.org/support/users/yogaman5020/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/wordpress-database-error-unknown-column-2/#post-9834207)
 * Status: resolved