Hi damtom, welcome to the community!
Onto the problem, that type of error is normally caused by a missing end brace - } - in the php file somewhere. If it’s a fresh install of MODX, you could try re-uploading the files to see if that corrects the issue as it could have been a problem in the file transfer (make sure you update as well to the recent MODx 0.9.2 release

)
I seem to remember this problem happening to someone else on the forum but I can’t for the life of me find the original post ...
Please post back if the problems persist.
Cheers, Garry