I have a GridField in my getCMSFields function for a subclassed page that's similar to the example in "Customizing Detail Forms" on this page of the documentation:
http://doc.silverstripe.com/framework/en/reference/grid-field
The code worked fine in SS 3.0.5, but with SS 3.1 I get the following error when I try to access a page of this type in the CMS
Call to a member function stat() on a non-object in httpdocs/framework/model/DataObject.php on line 3192
Any clues?