diff --git a/core/model/ErrorPage.php b/core/model/ErrorPage.php index ea2b34c71..c82ae7eb3 100755 --- a/core/model/ErrorPage.php +++ b/core/model/ErrorPage.php @@ -29,9 +29,10 @@ class ErrorPage extends Page { $errorpage->URLSegment = "page-not-found"; $errorpage->ShowInMenus = false; $errorpage->Content = "

Sorry, it seems you were trying to access a page that doesn't exist.

Please check the spelling of the URL you were trying to access and try again.

"; - $errorpage->Status = "Published"; + $errorpage->Status = "New page"; $errorpage->write(); - $errorpage->publish("Stage", "Live"); + // Don't publish, as the manifest may not be built yet + // $errorpage->publish("Stage", "Live"); if(!Database::$supressOutput) {