[Deprecated] Creation of dynamic property SilverStripe\ErrorPage\ErrorPage::$ResponseErrorMessage is deprecated

GET /www/galleria/aktiviteetit/

Line 545 in /home/naruskajar/domains/naruskajarvi.fi/public_html/www/vendor/silverstripe/framework/src/ORM/FieldType/DBField.php

Source

536      */
537     public function saveInto($dataObject)
538     {
539         $fieldName = $this->name;
540         if (empty($fieldName)) {
541             throw new \BadMethodCallException(
542                 "DBField::saveInto() Called on a nameless '" . static::class . "' object"
543             );
544         }
545         $dataObject->$fieldName = $this->value;
546     }
547 
548     /**
549      * Returns a FormField instance used as a default
550      * for form scaffolding.
551      *

Trace

ERROR [User Warning]: Couldn't set response type to 404 because of output on line 427 of /home/naruskajar/domains/naruskajarvi.fi/public_html/www/vendor/silverstripe/framework/src/Control/HTTPResponse.php IN GET /www/galleria/aktiviteetit/ Line 398 in /home/naruskajar/domains/naruskajarvi.fi/public_html/www/vendor/silverstripe/framework/src/Control/HTTPResponse.php Source ====== 389: $this->getStatusCode(), 390: $this->getStatusDescription() 391: ); 392: header($method ?? ''); 393: foreach ($this->getHeaders() as $header => $value) { 394: header("{$header}: {$value}", true, $this->getStatusCode() ?? 0); 395: } 396: } elseif ($this->getStatusCode() >= 300) { 397: // It's critical that these status codes are sent; we need to report a failure if not. * 398: user_error( 399: sprintf( 400: "Couldn't set response type to %d because of output on line %s of %s", 401: $this->getStatusCode(), 402: $line, 403: $file 404: ), Trace ===== user_error(Couldn't set response type to 404 because of output on line 427 of /home/naruskajar/domains/naruskajarvi.fi/public_html/www/vendor/silverstripe/framework/src/Control/HTTPResponse.php, 512) HTTPResponse.php:398 SilverStripe\Control\HTTPResponse->outputHeaders() HTTPResponse.php:351 SilverStripe\Control\HTTPResponse->output() index.php:25 ERROR [UNKNOWN TYPE, ERRNO 404]: IN GET /www/galleria/aktiviteetit/ Line in Trace ===== SilverStripe\Dev\CliDebugView->renderTrace() DetailedErrorFormatter.php:119 SilverStripe\Logging\DetailedErrorFormatter->output(404, , , , ) DetailedErrorFormatter.php:49 SilverStripe\Logging\DetailedErrorFormatter->format(Array) HTTPResponse.php:423 SilverStripe\Control\HTTPResponse->outputBody() HTTPResponse.php:352 SilverStripe\Control\HTTPResponse->output() index.php:25