Can you check the PHP error log (not the MODX error log) to see what exactly causes this 500 error on the server?
It’s probably the same issue as mention here: