Debug (line 154 of ModelAsController.php): Using record #4 of type SilverStripe\ErrorPage\ErrorPage with link /page-not-found/
ERROR [User Warning]: Couldn't set response type to 404 because of output on line 141 of /srv/users/serverpilot/apps/pagebuildr-alpha/public/vendor/silverstripe/framework/src/Dev/Debug.php IN GET /page-not-found?debug=1&isDev=1&isDevtoken=9d6e6af7427354ab4392c78952f8ce71 Line 336 in /srv/users/serverpilot/apps/pagebuildr-alpha/public/vendor/silverstripe/framework/src/Control/HTTPResponse.php Source ====== 327: } elseif ($this->getStatusCode() >= 300) { 328: // It's critical that these status codes are sent; we need to report a failure if not. 329: user_error( 330: sprintf( 331: "Couldn't set response type to %d because of output on line %s of %s", 332: $this->getStatusCode(), 333: $line, 334: $file 335: ), * 336: E_USER_WARNING 337: ); 338: } 339: } 340: 341: /** 342: * Output body of this response to the browser Trace ===== user_error(Couldn't set response type to 404 because of output on line 141 of /srv/users/serverpilot/apps/pagebuildr-alpha/public/vendor/silverstripe/framework/src/Dev/Debug.php, 512) HTTPResponse.php:336 SilverStripe\Control\HTTPResponse->outputHeaders() HTTPResponse.php:282 SilverStripe\Control\HTTPResponse->output() index.php:18