We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34127
    • 135 Posts
    Hey all! I'm wondering if it's possible to "debug" error log messages - in particular, PDO-related error messages? These error messages show up in the log with an error code and an error message, but I haven't the slightest idea in finding out *where* exactly they're occurring in the code. Is it possible to find the file/snippet/element responsible?
      • 22303 MODX Staff
      • 10,725 Posts
      If you have xdebug available, you can configure it to provide stack traces for each error and you can see where it was called, but most PDO errors here occur in the core xPDO code which doesn't help you much in finding where it was called from.

      Is there a particular error you are trying to debug? Perhaps we can explore specifics first and come up with a way to approach your problem once we know what we are dealing with...
        • 34127
        • 135 Posts
        Jason, I sent you a message about this - can you check your private discussions please? Thanks!