MODX Parse Error

Hello guys, am new to MODX.
I have this website that I manage that is running on Modx evolution 1.2.1 , of late am having issues when i try to edit anything on the website, I get the following
« MODX Parse Error »
Execution of a query to the database failed - 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 ‘groups ON AND groups.document=‘1’ ORDER BY name’ at line 1
If anyone knows how i can sort this will highly appreciate.

This is the forum for MODX Revolution.

Maybe try the Evo specific forum instead:

It’s more likely you get useful help there.