Issue with Graph Data and Elastic search

Hello,

I just updated to the latest release 1.1.2–>1.1.3 and i think it broke my graph readout.
whenever i login i am greated with the graph and a error message saying

Error : Invalid Graph Data

in console there is only this message and nothing else.
[trudesk:dashboard:getData] Error - Invalid Graph Data

As for elasticsearch it’s connected but the index is stuck to 1 with

> index status : out of sync
![image|690x391](upload://xN9wnUcE22gq7dpqgomModkw8px.png) 

log readings:
    events.js:174
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'fullname' of null
    at /opt/trudesk/src/cache/quickStats.js:137:22
    at arrayMap (/opt/trudesk/node_modules/lodash/lodash.js:639:23)
    at Function.map (/opt/trudesk/node_modules/lodash/lodash.js:9556:14)
    at /opt/trudesk/src/cache/quickStats.js:136:14
    at arrayMap (/opt/trudesk/node_modules/lodash/lodash.js:639:23)
    at Function.map (/opt/trudesk/node_modules/lodash/lodash.js:9556:14)
    at buildMostComments (/opt/trudesk/src/cache/quickStats.js:135:22)
    at /opt/trudesk/src/cache/quickStats.js:71:9
    at /opt/trudesk/node_modules/async/dist/async.js:3880:24
    at replenish (/opt/trudesk/node_modules/async/dist/async.js:1011:17)
    at iterateeCallback (/opt/trudesk/node_modules/async/dist/async.js:995:17)
    at /opt/trudesk/node_modules/async/dist/async.js:969:16
    at /opt/trudesk/node_modules/async/dist/async.js:3885:13
    at /opt/trudesk/src/cache/quickStats.js:47:20
    at /opt/trudesk/node_modules/mongoose/lib/model.js:4659:16
    at /opt/trudesk/node_modules/mongoose/lib/utils.js:255:16
Emitted 'error' event at:
    at /opt/trudesk/node_modules/mongoose/lib/model.js:4661:13
    at /opt/trudesk/node_modules/mongoose/lib/utils.js:255:16
    at _hooks.execPost (/opt/trudesk/node_modules/mongoose/lib/query.js:4065:11)
    at /opt/trudesk/node_modules/kareem/index.js:135:16
    at process._tickCallback (internal/process/next_tick.js:61:11)
events.js:174
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property '_id' of null
    at /opt/trudesk/src/elasticsearch/rebuildIndexChild.js:284:28
    at Array.forEach (<anonymous>)
    at QueryCursor.<anonymous> (/opt/trudesk/src/elasticsearch/rebuildIndexChild.js:277:22)
    at QueryCursor.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at QueryCursor.Readable.push (_stream_readable.js:224:10)
    at /opt/trudesk/node_modules/mongoose/lib/cursor/QueryCursor.js:88:11
    at /opt/trudesk/node_modules/mongoose/lib/cursor/QueryCursor.js:289:11
    at /opt/trudesk/node_modules/mongoose/lib/model.js:4659:16
    at /opt/trudesk/node_modules/mongoose/lib/utils.js:255:16
    at next (/opt/trudesk/node_modules/mongoose/lib/model.js:3673:5)
    at next (/opt/trudesk/node_modules/mongoose/lib/model.js:3832:7)
    at /opt/trudesk/node_modules/mongoose/lib/model.js:4659:16
    at /opt/trudesk/node_modules/mongoose/lib/utils.js:255:16
    at _hooks.execPost (/opt/trudesk/node_modules/mongoose/lib/query.js:4065:11)
Emitted 'error' event at:
    at /opt/trudesk/node_modules/mongoose/lib/model.js:4661:13
    at /opt/trudesk/node_modules/mongoose/lib/utils.js:255:16
    at _hooks.execPost (/opt/trudesk/node_modules/mongoose/lib/query.js:4065:11)
    at /opt/trudesk/node_modules/kareem/index.js:135:16
    at process._tickCallback (internal/process/next_tick.js:61:11)
                            Invalid Log File...

Os: ubuntu 18.04lts
Trudesk Version:1.1.3
elasticsearch version:6.8.11

This thread can be closed.

The issue came back. please does anyone has a fix for this issue.
also to add i do not have any property fullname to null.

events.js:174
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'fullname' of null
    at /etc/trudesk/src/cache/quickStats.js:137:22
    at arrayMap (/etc/trudesk/node_modules/lodash/lodash.js:639:23)
    at Function.map (/etc/trudesk/node_modules/lodash/lodash.js:9556:14)
    at /etc/trudesk/src/cache/quickStats.js:136:14
    at arrayMap (/etc/trudesk/node_modules/lodash/lodash.js:639:23)
    at Function.map (/etc/trudesk/node_modules/lodash/lodash.js:9556:14)
    at buildMostComments (/etc/trudesk/src/cache/quickStats.js:135:22)
    at /etc/trudesk/src/cache/quickStats.js:71:9
    at /etc/trudesk/node_modules/async/dist/async.js:3880:24
    at replenish (/etc/trudesk/node_modules/async/dist/async.js:1011:17)
    at iterateeCallback (/etc/trudesk/node_modules/async/dist/async.js:995:17)
    at /etc/trudesk/node_modules/async/dist/async.js:969:16
    at /etc/trudesk/node_modules/async/dist/async.js:3885:13
    at /etc/trudesk/src/cache/quickStats.js:47:20
    at /etc/trudesk/node_modules/mongoose/lib/model.js:4659:16
    at /etc/trudesk/node_modules/mongoose/lib/utils.js:255:16
Emitted 'error' event at:
    at /etc/trudesk/node_modules/mongoose/lib/model.js:4661:13
    at /etc/trudesk/node_modules/mongoose/lib/utils.js:255:16
    at _hooks.execPost (/etc/trudesk/node_modules/mongoose/lib/query.js:4065:11)
    at /etc/trudesk/node_modules/kareem/index.js:135:16
    at process._tickCallback (internal/process/next_tick.js:61:11)
                            Invalid Log File...

This is cause by a user being hard deleted and a object/ticket is still trying to reference that user when pulling the quick stats.

What do you mean by hard delete?
A user was deleted from the app but he never created a ticket. Is there anything i can do to fix it?