Notice (8): Undefined property: stdClass::$result [APP/Controller/Component/PixelClientModules/Events/Agencies.php, line 29]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/pixelweb/vendor/cakephp/cakephp/src/Error/Debugger.php line=970 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/pixelweb/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/pixelweb/vendor/cakephp/cakephp/src/Error/Debugger.php:970) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: JsonMapper::map() requires first argument to be an object, NULL given.

JsonMapper::map() requires first argument to be an object, NULL given. 📋

InvalidArgumentException
Toggle Vendor Stack Frames
     */
    public function map($json$object)
    {
        if ($this->bEnforceMapType && !is_object($json)) {
            throw new InvalidArgumentException(
                'JsonMapper::map() requires first argument to be an object'
                ', ' gettype($json) . ' given.'
            );
        }

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