5.4.8 - GetGUID() crash from different points

I am developing on a Trinitycore based 5.4.8 core.

We are exeperiencing multiple crash from different points.

I have tried to found the point of failure of this crashes…

I suspect that these crashes can be handled from a single point that corrects every GetGUID crashes.

Here is the pastebin of the crashlogs.

Thank you in advance

— Canned message start —
This help request is in no way related to the official codebase of TrinityCore and/or TrinityDatabase and does not belong on these boards.
— Canned message end