Title: Database errors
Last modified: September 24, 2019

---

# Database errors

 *  [Els Guns](https://wordpress.org/support/users/els-guns/)
 * (@els-guns)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/database-errors-58/)
 * Hi, I’m using MySQL 5.6.32 … (your plugin version is 3.6.3)
 * 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 ‘) AND out1.ID BETWEEN 
   0 AND’ at line 1 for query SELECT ID,post_content,post_title,post_type FROM wp_208tgxxnm3_posts
   out1 WHERE out1.post_status = ‘publish’ AND out1.post_type IN (”) AND out1.id
   NOT IN () AND out1.ID BETWEEN 0 AND made by require_once(‘wp-admin/admin.php’),
   do_action(‘settings_page_udinra-all-image-sitemap’), WP_Hook->do_action, WP_Hook-
   >apply_filters, Udinra_Image, udinra_image_sitemap_loop, include(‘/plugins/udinra-
   all-image-sitemap/img/udinra_imgtags.php’)
 * 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‘)
   AND out1.ID BETWEEN 0 AND’ at line 1 for query SELECT ID,post_content,post_title,
   post_type FROM wp_208tgxxnm3_posts out1 WHERE out1.post_status = ‘publish’ AND
   out1.post_content like ‘%[gallery%’ AND out1.post_type IN (”) AND out1.ID NOT
   IN () AND out1.ID BETWEEN 0 AND made by require_once(‘wp-admin/admin.php’), do_action(‘
   settings_page_udinra-all-image-sitemap’), WP_Hook->do_action, WP_Hook->apply_filters,
   Udinra_Image, udinra_image_sitemap_loop, include(‘/plugins/udinra-all-image-sitemap/
   gallery/wpgallery/udinra_gallery.php’)
 * Tnx and greetings,
    Els

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

 *  Plugin Author [Udinra](https://wordpress.org/support/users/udinra/)
 * (@udinra)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/database-errors-58/#post-11966296)
 * Thanks Els for bringing it to my notice. I will update the plugin .
 *  Plugin Author [Udinra](https://wordpress.org/support/users/udinra/)
 * (@udinra)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/database-errors-58/#post-11979741)
 * Can you please share plugin Configuration? You can also mention what you selected
   if you remember it
 *  Thread Starter [Els Guns](https://wordpress.org/support/users/els-guns/)
 * (@els-guns)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/database-errors-58/#post-11993762)
 * Hi Udinra, I created an image sitemap for all featured images of my posts before,
   I thought, but with the new interface it doesn’t seem possible anymore?
    thanks
   and greetings, Els
 *  Plugin Author [Udinra](https://wordpress.org/support/users/udinra/)
 * (@udinra)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/database-errors-58/#post-11998610)
 * It should be fine just save the Image Sitemap configuration and generate the 
   Cache.For performance reasons Cache generation is used now and you may have to
   generate it multiple times if you have too many images.
 * Are you still getting database issues?
 *  Thread Starter [Els Guns](https://wordpress.org/support/users/els-guns/)
 * (@els-guns)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/database-errors-58/#post-12003561)
 * Hi Udinra,
 * just checked and there are still errors …
 * [07-Oct-2019 06:39:59 UTC] 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 ‘) ORDER BY out1.post_date DESC’ at line 1 for query
   SELECT out1.ID FROM wp_208tgxxnm3_posts out1 WHERE out1.post_status = ‘publish’
   AND out1.post_type IN (”) AND out1.id NOT IN () ORDER BY out1.post_date DESC 
   made by require_once(‘wp-admin/admin.php’), do_action(‘settings_page_udinra-all-
   image-sitemap’), WP_Hook->do_action, WP_Hook->apply_filters, Udinra_Sitemap, 
   udinra_sitemap_loop, include(‘/plugins/udinra-all-image-sitemap/init/udinra_init_plugin.
   php’)
 * [07-Oct-2019 06:40:40 UTC] 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 ‘) ORDER BY out1.post_date DESC’ at line 1 for query
   SELECT out1.ID FROM wp_208tgxxnm3_posts out1 WHERE out1.post_status = ‘publish’
   AND out1.post_type IN (”) AND out1.id NOT IN () ORDER BY out1.post_date DESC 
   made by require_once(‘wp-admin/admin.php’), do_action(‘settings_page_udinra-all-
   image-sitemap’), WP_Hook->do_action, WP_Hook->apply_filters, Udinra_Sitemap, 
   udinra_sitemap_loop, include(‘/plugins/udinra-all-image-sitemap/init/udinra_init_plugin.
   php’)
 * tnx and greetings,
    Els
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [6 years, 7 months ago](https://wordpress.org/support/topic/database-errors-58/#post-12030848)
 * [@els-guns](https://wordpress.org/support/users/els-guns/) Please hold while 
   I go off topic for a moment. Also do not send ANYONE your database, that’s a 
   horrifically bad idea.
 * [@udinra](https://wordpress.org/support/users/udinra/) Don’t make that ask, I
   have removed many replies here.
 * [@udinra](https://wordpress.org/support/users/udinra/) I’ve deleted your offer
   to login to your user’s site. I’m am 100% sure you mean well but please _never
   ask for credentials._ I have flagged your account temporarily. That just means
   that your post will need to be approved and @ notifications from you will not
   work.
 * [https://wordpress.org/support/guidelines/#the-bad-stuff](https://wordpress.org/support/guidelines/#the-bad-stuff)
 * Now for the why: The internet is a wonderful place full of very nice people and
   a few very bad ones. I’m sure everyone here is very nice however, by giving some
   ones keys to your house you are trusting they wont steal anything. Likewise the
   person who takes the keys is now responsible for the house FOREVER.
 * If something was to go wrong, then you the author may well legally become liable
   for damages, which they would not normally have been as their software is provided
   without warranty.
 * **Please be aware that repeatedly asking for credentials will result in us asking
   you to repeatedly stop before escalating up to the plugins team.**
 * There are many ways to get information you need and accessing the user’s site
   is not one of them. That’s going too far.
    - Ask for a link to the [http://pastebin.com/](http://pastebin.com/) log of 
      the user’s web server error log.
    - Ask the user to create and post a link to their `phpinfo();` output.
    - Ask the user to install the [Health Check plugin](https://wordpress.org/support/plugin/health-check/)
      and get the data that way.
    - Walk the user through [enabling WP_DEBUG and how to log that output to a file and how to share that file.](https://codex.wordpress.org/WP_DEBUG#WP_DEBUG_LOG_and_WP_DEBUG_DISPLAY)
    - Walk the user through basic troubleshooting steps such and disabling all other
      plugins, clear their cache and cookies and try again.
    - Ask the user for the step-by-step on how they can reproduce the problem.
 * You get the idea.
 * Volunteer support is not easy. But these forums need to a safe place for all 
   users, experienced or new. Accessing their system that way is a short cut that
   will get you into real trouble in these forums.
 *  Plugin Author [Udinra](https://wordpress.org/support/users/udinra/)
 * (@udinra)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/database-errors-58/#post-12037733)
 * The request was not initiated by me to start with. Not sure how you came to that
   conclusion.
 * It was started by the user and I was sure he was aware of consequences of sharing
   those information being part of Community.
 * I am not new to these forums BUT thanks for your time to refresh the bad stuffs
   and all details.

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

The topic ‘Database errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/udinra-all-image-sitemap_fadfce.svg)
 * [Udinra All Image Sitemap](https://wordpress.org/plugins/udinra-all-image-sitemap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/udinra-all-image-sitemap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/udinra-all-image-sitemap/)
 * [Active Topics](https://wordpress.org/support/plugin/udinra-all-image-sitemap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/udinra-all-image-sitemap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/udinra-all-image-sitemap/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Udinra](https://wordpress.org/support/users/udinra/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/database-errors-58/#post-12037733)
 * Status: not resolved