Have you recently upgraded from MODX 2.x
If so - you might want to take a look at this issue.
If you’ve not recently upgraded - is it possible you or your host have changed the PHP version?
I think there are also quite a few bug fixes in later versions.