Your software
Mautic version v2.15.2
PHP version 7.1.30
Browser Chrome
Your problem
My problem is:
Hundreds of Ghost contact IDs are being generated nearly every day in my Mautic installation due to an unknown reason, even though in the contact list there’s only 84 registered contacts.
The “ghost IDs” are just that, no new contact is actually created every time this happens.
I originally thought it had something to do with a bad cron job but as you can see in the image, the days when this problem occurs seem to be pretty irregular.
My setup: Installed Mautic in its own server and connected it to a Wordpress website (via OAuth 2) with a plugin called Thrive Leads. The lead capture forms work fine in my website and all the users who opt-in get instantly added to my contact list in Mautic.
Some days nobody registers through my form but whenever a new user does register, they get an ID that’s sometimes a hundred of values ahead of what it should be.
i.e Contact A gets ID 3, then Contact B registers two days later and gets ID 76.
I’ve not been able to figure out what’s causing it this problem. But I suspect it’s something to do with my Mautic installation rather than the wordpress plugin I’m using.
These errors are showing in the log:
[2019-11-07 07:38:31] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: “Attempted to load class “XmlEncoder” from namespace “Symfony\Component\Serializer\Encoder”. Did you forget a “use” statement for another namespace?” at /opt/bitnami/apps/mautic/htdocs/vendor/friendsofsymfony/rest-bundle/FOS/RestBundle/Decoder/XmlDecoder.php line 30 {“exception”:"[object] (Symfony\Component\Debug\Exception\ClassNotFoundException(code: 0): Attempted to load class “XmlEncoder” from namespace “Symfony\Component\Serializer\Encoder”.\nDid you forget a “use” statement for another namespace? at /opt/bitnami/apps/mautic/htdocs/vendor/friendsofsymfony/rest-bundle/FOS/RestBundle/Decoder/XmlDecoder.php:30)"}
Steps I have tried to fix the problem:
Checked the cron jobs but nothing there seems to be causing this.
I will truly appreciate your help.