Magento is displaying the MySQL query and a stack trace on catalog pages.
I can't figure out where it's coming from. DB queries should not be displaying on the frontend, for security reasons.
Do you have any idea how I can turn this off?
Edit/create errors/local.xml and change action from "print" to "none".
Mage::setIsDeveloperMode(true); reachable in any way? Try commenting it out.