Mautic and vTiger open source integration error

Your software
My Mautic version is: 5.1
My PHP version is: 8.2
My Database type and version is:

Your problem
My problem is:

In PushLeadActivityCommand.php line 76:

method_exists(): Argument #1 ($object_or_class) must be of type object|stri
ng, bool given

mautic:integration:pushleadactivity [-i|–integration INTEGRATION] [-d|–start-date START-DATE] [-t|–end-date END-DATE] [-a|–time-interval [TIME-INTERVAL]] [-f|–force]

These errors are showing in the log:

Steps I have tried to fix the problem:

I’ve mapped the fields;
Clear the cache;
setup cron job;

Even if there’s no contacts on both sides the error persists when cron is executed;
If decided to map fields then i made sure to populate vTiger’s Last name field as it’s mandatory;
When testing in form action, it also doesn’t work and additional actions aren’t executed(like sending emails);

Does anyone managed to sync both sides in Mautic 5.1 and vTiger open source 8.2?

Log error:

[2024-07-21T12:21:03.763159+01:00] mautic.ERROR: TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given (uncaught exception) at /public_html/app/bundles/PluginBundle/Command/PushLeadActivityCommand.php line 76 while running console command mautic:integration:pushleadactivity [stack trace] #0 /public_html/app/bundles/PluginBundle/Command/PushLeadActivityCommand.php(76): method_exists(false, ‘pushLeadActivit…’) #1/public_html/vendor/symfony/console/Command/Command.php(298): Mautic\PluginBundle\Command\PushLeadActivityCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #2 /public_html/vendor/symfony/console/Application.php(1058): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #3 /public_html/vendor/symfony/framework-bundle/Console/Application.php(96): Symfony\Component\Console\Application->doRunCommand(Object(Mautic\PluginBundle\Command\PushLeadActivityCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #4/public_html/vendor/symfony/console/Application.php(301): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Mautic\PluginBundle\Command\PushLeadActivityCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5/public_html/vendor/symfony/framework-bundle/Console/Application.php(82): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #6 /public_html/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /public_html/bin/console(16): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 {main} {“hostname”:“xxxxxxxxxx”,“pid”:109223}
[2024-07-21T12:21:03.767953+01:00] mautic.WARNING: Command mautic:integration:pushleadactivity exited with status code 1 {“hostname”:“xxxxxxxxxxx”,“pid”:109223}