Unexpected end of JSON inputSyntaxError: Unexpected end of JSON input at JSON.parse () at IncomingMessage. (/var/www/vhosts/modxclub.ru/assets/components/modxsite/templates/v37/server/routes/modx/index.js:1047:33) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:186:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)