Warning (2) : Attempt to read property "id" on null [in /home/acqprojectsdev/public_html/src/Controller/DocumentsController.php, line 30]
Warning (2) : Attempt to read property "id" on null [in /home/acqprojectsdev/public_html/src/Controller/DocumentsController.php, line 43]
Warning (512) : Unable to emit headers. Headers sent in file=/home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/acqprojectsdev/public_html/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Expression `Documents.tenant_id` is missing operator (IS, IS NOT) with `null` value.

Expression Documents.tenant_id is missing operator (IS, IS NOT) with null value. 📋

InvalidArgumentException
CORE/src/Database/Expression/QueryExpression.php at line 839 (edit)
            $operator '!=';
        }
        if ($value === null && $this->_conjunction !== ',') {
            throw new InvalidArgumentException(
                sprintf('Expression `%s` is missing operator (IS, IS NOT) with `null` value.'$expression)
            );
        }

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