Fixed offline problem described in http://tracker.modx.com/issues/6138