I have noticed this in my output for my start script which logs everything that would go to the window.
I am running on Linux and have my bot pointing to the database of my site so I can design a few things from the bot database onto the site.
Currently my Members database will not update so no one can use the bot due to this output.
(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 (admin_group = 1 OR admin_group = 2)' at line 1)