Title: sql queries being printed
Last modified: March 25, 2017

---

# sql queries being printed

 *  [sanjeet.bisht](https://wordpress.org/support/users/sanjeetbisht-1/)
 * (@sanjeetbisht-1)
 * [9 years ago](https://wordpress.org/support/topic/sql-queries-being-printed/)
 * Hey I’m using this plugin from last 1 week.
    Today when I viewed my source page
   I found that w3 cache has printed 130 lines of query on the page.
 * How to stop that?
    And is this a security issue?
 * [https://ibb.co/frjZfa](https://ibb.co/frjZfa)
 * You can view this on the above screenshot.

Viewing 1 replies (of 1 total)

 *  [Prince_Dhaval](https://wordpress.org/support/users/shethdhaval/)
 * (@shethdhaval)
 * [9 years ago](https://wordpress.org/support/topic/sql-queries-being-printed/#post-8964204)
 * Hello this happens because you have enabled the database cache option in your
   website
    if you want to turn off the query then you have to go Performance->General
   Settings->debug option then uncheck the database cache and save the settings 
   and clear the cache you are all set thanks

Viewing 1 replies (of 1 total)

The topic ‘sql queries being printed’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [query](https://wordpress.org/support/topic-tag/query/)
 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * 1 reply
 * 2 participants
 * Last reply from: [Prince_Dhaval](https://wordpress.org/support/users/shethdhaval/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/sql-queries-being-printed/#post-8964204)
 * Status: not resolved