Mautic is looping

Hi, see screenshot


and

what did I do wrong and how to fix it?
How do I clear the history of identified contacts?

Your software
My Mautic version is: v3.2.5
My PHP version is:
My Database type and version is:

Your problem
My problem is:

These errors are showing in the log:

Steps I have tried to fix the problem: