Title: Getting a Database error
Last modified: March 14, 2019

---

# Getting a Database error

 *  Resolved [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/)
 * Hi. I’m getting the following database error:
 * `[12-Mar-2019 19:01:54 UTC] WordPress database error Not unique table/alias: '
   wp_z67k1hvvcx_postmeta' for query SELECT SQL_CALC_FOUND_ROWS wp_z67k1hvvcx_posts.*
   FROM wp_z67k1hvvcx_posts INNER JOIN wp_z67k1hvvcx_postmeta ON ( wp_z67k1hvvcx_posts.
   ID = wp_z67k1hvvcx_postmeta.post_id ) INNER JOIN wp_z67k1hvvcx_postmeta ON wp_z67k1hvvcx_posts.
   ID = wp_z67k1hvvcx_postmeta.post_id WHERE 1=1 AND ( wp_z67k1hvvcx_postmeta.meta_key
   = '_adcp_priority' ) AND wp_z67k1hvvcx_posts.post_type = 'adcp_rules' AND ((wp_z67k1hvvcx_posts.
   post_status = 'publish')) AND ( wp_z67k1hvvcx_postmeta.meta_key = 'enclosure')
   GROUP BY wp_z67k1hvvcx_posts.ID ORDER BY wp_z67k1hvvcx_postmeta.meta_value ASC
   LIMIT 0, 9999 made by require('wp-blog-header.php'), require_once('wp-includes/
   template-loader.php'), do_feed, do_action('do_feed_podcast'), WP_Hook->do_action,
   WP_Hook->apply_filters, powerpress_do_podcast_feed, load_template, require_once('/
   plugins/powerpress/feed-podcast.php'), do_action('rss2_item'), WP_Hook->do_action,
   WP_Hook->apply_filters, powerpress_rss2_item, powerpress_get_the_exerpt, get_the_excerpt,
   apply_filters('get_the_excerpt'), WP_Hook->apply_filters, wp_trim_excerpt, apply_filters('
   the_content'), WP_Hook->apply_filters, adcp_add_statement_after_post, adcp_render_disclosure_statement,
   adcp_get_disclosure_rules, WP_Query->__construct, WP_Query->query, WP_Query->
   get_posts`
 * It doesn’t seem to be affecting anything on the front end, and from what I can
   tell the player still works where the shortcode is placed (you can see an example
   here: ), it’s only in the database. The error goes away when I turn off the PowerPress
   plugin.
 * We are using WordPress 5.1 and PowerPress Version 7.4
 * Thank you.
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 7 years, 2 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-a-database-error-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Shawn](https://wordpress.org/support/users/shawnogordo/)
 * (@shawnogordo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11305677)
 * I’ve asked the Blubrry dev team to look at your question. A reply will be posted
   here as soon as they’ve had a chance to do that.
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11305803)
 * Hello,
 * I looked at the query, you have something else doing a join on the same table(
   which is the problem) and it is using a value ‘_adcp_priority’. Do you have any
   plugins called adcp or have a plugin with a title starting with these 4 letters
   A D C P? I see it has something to do with its own post type, ‘adcp_rules’. I
   suspect if you disable that plugin the error also goes away. I just need to know
   what adcp plugin is and where to get a copy so we can test with it and come up
   with a solution to get around the conflict.
 * Thanks,
    Angelo
 *  Thread Starter [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11309079)
 * We have a plugin called Affiliate Disclosure Pro. I wonder if that’s it? I’m 
   switching that one out for a new one, I just have to finish moving the data over.
   I wasn’t the one who originally set up the site, so I’m not 100% familiar with
   everything in there, but that’s the only plugin listed that I see with (at least
   most of) those letters.
 * I will finish moving the data over to the new plugin and will switch it out to
   see if that fixes it.
 *  Thread Starter [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11310509)
 * Okay, so, I think that was the correct plugin, but the new plugin ([https://wordpress.org/plugins/wp-affiliate-disclosure/](https://wordpress.org/plugins/wp-affiliate-disclosure/))
   is also using that same table and therefore is throwing the same error.
 * You can find the free version of the plugin on WordPress here: [https://wordpress.org/plugins/wp-affiliate-disclosure/](https://wordpress.org/plugins/wp-affiliate-disclosure/)
 * Thank you for your help with this.
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11353930)
 * Hello [@ndnakashima](https://wordpress.org/support/users/ndnakashima/),
 * Can you install a version via a zip file to test to see if it solved your issue?
 * Thanks,
    Angelo
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11360096)
 * Hello [@ndnakashima](https://wordpress.org/support/users/ndnakashima/),
 * The code for this fix will be in the next release. We will release once you can
   give us feedback of it solved your conflict. The pre release version is available
   for download here: [https://downloads.wordpress.org/plugin/powerpress.zip](https://downloads.wordpress.org/plugin/powerpress.zip)
 * Thanks,
    Angelo
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11395924)
 * Hello [@ndnakashima](https://wordpress.org/support/users/ndnakashima/),
 * Just following up if the version linked in the last reply fixed your issues?
 * Thanks,
    Angelo
 *  Thread Starter [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11397962)
 * Hi. I’m so sorry I didn’t see this message. I will test right now, thank you.
 *  Thread Starter [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11397968)
 * Yes. It looks like it is all cleared up. I’ll double check again in the morning
   just to make sure, but so far it looks like the error is gone.
 * Thank you so, so much for this. I really appreciate it.
 *  Thread Starter [Naomi Nakashima](https://wordpress.org/support/users/ndnakashima/)
 * (@ndnakashima)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11405257)
 * Okay, yes. It’s been a few days now and I can confirm that the error is completely
   gone.
 * Thank you so much.
 *  Plugin Contributor [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * (@amandato)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11405416)
 * Awesome!

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

The topic ‘Getting a Database error’ is closed to new replies.

 * ![](https://ps.w.org/powerpress/assets/icon.svg?rev=2849869)
 * [PowerPress Podcasting plugin by Blubrry](https://wordpress.org/plugins/powerpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/powerpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/powerpress/)
 * [Active Topics](https://wordpress.org/support/plugin/powerpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/powerpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/powerpress/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [Angelo Mandato](https://wordpress.org/support/users/amandato/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-2/#post-11405416)
 * Status: resolved