diff --git a/code/extensions/MockDataObject.php b/code/extensions/MockDataObject.php
index <HASH>..<HASH> 100755
--- a/code/extensions/MockDataObject.php
+++ b/code/extensions/MockDataObject.php
@@ -176,6 +176,9 @@ class MockDataObject extends DataExtension {
 					}
 				}
 			}
+			else if ($className == "Subsite"){
+				continue;
+			}
 			else {
 				$random_record = DataList::create($className)->sort("RAND()")->first();
 				if(!$random_record && !$sitetree) {
Added subsites support

Allow adding mock pages within the CMS when the Subsites module is
installed