Notice (1024) : Undefined property `DownloadsController::$Cookie` in `/opt/markstory-1766784742/src/Controller/DownloadsController.php` on line 69 [in /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Controller/Controller.php, line 313]
Warning (512) : Unable to emit headers. Headers sent in file=/opt/markstory-1766784742/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /opt/markstory-1766784742/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Call to a member function read() on null

Call to a member function read() on null 📋

Error
Error in: ROOT/src/Controller/DownloadsController.php, line 69
APP/Controller/DownloadsController.php at line 69 (edit)
        $download $this->Nodes->getNode($id);
        if (empty($download)) {
            throw new NotFoundException('Download not found');
        }
        $this->request $this->request->withParsedBody((array)$this->Cookie->read('Comment'));
        $this->Comments->displayNodeComments($this$download->id);
        $this->set('download'$download);
    }

If you want to customize this error message, create templates/Error/error500.php