Deprecation: #100637 - Third argument ContentObjectRenderer->start()

See forge#100637


When creating instances of the \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer, the third argument $request when calling start() should not be handed over anymore. Instead, setRequest() should be used after creating the object.


Handing over the third argument to start() has been marked as deprecated in TYPO3 v12, it will be ignored with TYPO3 v13.

Affected installations

Instances with casual extensions are probably not affected by this: Instances of ContentObjectRenderer are usually set-up framework internally.

Using the third argument on start() triggers a deprecation level log message. The extension scanner will not find usages, since the method name start() is used in different context as well and would lead to too many false positives.


Ensure the request is an instance of Psr\Http\Message\ServerRequestInterface, and call setRequest() after instantiation instead of calling start() with three arguments.