Title: Database error &#8211; table doesn&#8217;t exist
Last modified: September 14, 2017

---

# Database error – table doesn’t exist

 *  Resolved [gb-plugins](https://wordpress.org/support/users/gb-plugins/)
 * (@gb-plugins)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-table-doesnt-exist-4/)
 * Hello
 * When I set the debug to true on my site, I get two errors:
 * WordPress database error: [Table ‘…._bwg_theme’ doesn’t exist]
    SELECT * FROM….
   _bwg_theme
 * WordPress database error: [Table ‘…._bwg_shortcode’ doesn’t exist]
    SELECT * 
   FROM …._bwg_shortcode
 * Can you please assist?
 * Thank you

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

 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-table-doesnt-exist-4/#post-9390985)
 * Hello, [@gb-plugins](https://wordpress.org/support/users/gb-plugins/)!
 * Thanks for reporting this problem!
 * Do you have any galleries/albums created with Photo Gallery? If not, please uninstall
   the plugin using **Photo Gallery > Uninstall** menu item.
 * **Important note:** This deletes all data on Photo Gallery.
 * Afterwards go to **Plugins** page of your WordPress dashboard, and **activate**
   Photo Gallery. Let us know if this helps.
 * Cheers!
 *  Thread Starter [gb-plugins](https://wordpress.org/support/users/gb-plugins/)
 * (@gb-plugins)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-table-doesnt-exist-4/#post-9495834)
 * What can I do if I don’t want data to be deleted?
    Thanks!
 *  Plugin Contributor [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * (@photogallerysupport)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-table-doesnt-exist-4/#post-9496078)
 * Hey, [@gb-plugins](https://wordpress.org/support/users/gb-plugins/)!
 * In that case, we can help you with this problem. Could you please send us a message
   using [this form](https://web-dorado.com/support/contact-us.html)? Make sure 
   to select “I have a pre-sales question” and the form will become visible.
 * Please mention the URL of this forum topic in your message. We will share the
   solution here as soon as we figure it out.
 * Thank you! Have a good day!

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

The topic ‘Database error – table doesn’t exist’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Photo Gallery Support](https://wordpress.org/support/users/photogallerysupport/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-table-doesnt-exist-4/#post-9496078)
 * Status: resolved