diff --git a/src/ErrorPage.php b/src/ErrorPage.php
index 1964f54..dae68d0 100644
--- a/src/ErrorPage.php
+++ b/src/ErrorPage.php
@@ -17,7 +17,7 @@
 use SilverStripe\Forms\DropdownField;
 use SilverStripe\Forms\FieldList;
 use SilverStripe\ORM\DB;
-use SilverStripe\ORM\ValidationException;
+use SilverStripe\Core\Validation\ValidationException;
 use SilverStripe\Security\Member;
 use SilverStripe\View\Requirements;
 use SilverStripe\View\SSViewer;
diff --git a/tests/ErrorPageTest.php b/tests/ErrorPageTest.php
index aa61b7b..7ce7ba3 100644
--- a/tests/ErrorPageTest.php
+++ b/tests/ErrorPageTest.php
@@ -15,7 +15,7 @@
 use SilverStripe\Dev\FunctionalTest;
 use SilverStripe\ErrorPage\ErrorPage;
 use SilverStripe\ORM\DB;
-use SilverStripe\ORM\ValidationException;
+use SilverStripe\Core\Validation\ValidationException;
 use SilverStripe\Versioned\Versioned;
 use SilverStripe\View\SSViewer;