Thanks so much for the update and the news that you have it working on 5.2.3, we’ve not been able to determine our issue, even after making sure we were on the same version of PHP that you suggested.
Agree, much improved in usability and stability.
Did you edit the code as per my blog post? Thats all I had to do.
Do you get fields in the plugin that come from SuiteCRM? Where is your problem?
rsp
17 April 2025 14:17
25
Is v6.x coming soon?
How to download this zip file?
You could simply download it from their git release:
1 Like
rsp
27 June 2025 13:24
27
@pstevens it looks like the bot marked your issue to stale. Did they merge your code changes into new version?
opened 01:23PM - 30 May 24 UTC
closed 12:02AM - 27 Jun 25 UTC
T2
bug
plugin
regression
stale
### Mautic Version
5.0.x series
### Way of installing
I downloaded a re… lease from https://www.mautic.org/mautic-releases
### PHP version
8.1
### What browsers are you seeing the problem on?
Chrome
### What happened?
I've been using the SugarCRM integration for SuiteCRM for years. It has worked pretty well, with minor flaws. Recently I've noticed SuiteCRM-> Mautic works fine. New records are created on both sides. However, it does not push back to SuiteCRM where Mautic field is the primary OR the SuiteCRM field is blank and Mautic has a value (like it used to). I'm getting the following error. This one is a little too complicated for me to troubleshoot, hoping for some help:
mautic.ERROR: INTEGRATION ERROR: Sugarcrm - Undefined method "detachEntities". The method name must start with either findBy, findOneBy or countBy! [] {"hostname":"xxx.xxx.xx.xxx.host.secureserver.net","pid":3}
UPDATE: only one record syncs and the then the sync stops. Even if you synccontacts -- "10 years" or -- fetch all, in Version 5 no sync happens. If I run the command -vvv I can see that it successfuly connects, gets the list of users, then ends. No records are added (the first run produces one contact and one lead, none after that)
I've tested up to 4.4.11 and it works, but not after.
### How can we reproduce this issue?
Step 1: Sync Matuic with SuiteCRM make changes on either side, the error is generated when the synccontacts job runs.
### Relevant log output
```shell
mautic.ERROR: INTEGRATION ERROR: Sugarcrm - Undefined method "detachEntities". The method name must start with either findBy, findOneBy or countBy! [] {"hostname":"xxx.xxx.xx.xxx.host.secureserver.net","pid":3}
Also:
mautic.ERROR: INTEGRATION ERROR: Sugarcrm - cURL error 28: Resolving timed out after 10001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://xxxxxxxxxxxxxxxxxx.com/service/v4_1/rest.php [] {"hostname":"xxxx.xxxx.xxxx.host.secureserver.net","pid":3}
```
### Code of Conduct
- [X] I confirm that I have read and agree to follow this project's Code of Conduct
<br /><hr>
Care about this issue? Want to get it resolved sooner? If you are a <a href='https://www.mautic.org/become-a-member-of-mautic'>member of Mautic</a>, you can add some funds to the <a href='https://opencollective.com/mautic/projects/bounties'>Bounties Project</a> so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs <a href='https://contribute.mautic.org/product-team/mautic-bounty-programme'>here.</a>
They never do. I raise issues all the time, no one does anything with them and after a few months if no one comments they just automatically get marked stale.
The issue resolution is much better here at SuiteCRM
2 Likes
I think we need to apply same changes in Mautic v7.1
No changes are ever migrated into the new version. You have to manually apply the patch each time you upgrade.
1 Like
Why are we getting the below error on Contact Mapping tab?
At least one required field is not mapped.
Check your required fields in the field options in Mautic. If for example “last name” is a required field and you have not mapped to a field in SuiteCRM then you will get this message.
Yes, we are selecting CRM email, last name and status as email, late name and alternative on the Mautic. But, it is not working. Also, we are trying to go on 2nd or 3rd page to view remaining fields but it is not working.
Anyone using Mautic v7 with SuiteCRM? Shall we consider Mautic v6?
I’m on Mautic 7 no issues.
In the Sugar CRM URL field, do we need to use https URL or http with IP address?
We tried with https and it is not working.
Here’s a walkthrough video on how to set it up.
VIDEO
Thank you, we have watched your video.
Error:
cURL error 28: Connection timed out after 10001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for OUR URL.
Do you have curl installed on your server?
Can you verify the connection outside of Mautic?
Can be:
curl not installed
bad password
bad url
bad username
Suitecrm in an internal network not reachable from Mautic
Keep trying.
curl is installed on the server.
I think it is connection issue.
curl -vk --connect-timeout 10 https://WEBSITE/service/v4_1/rest.php
It was DNS server issue.
resolvectl status
Then you need to update in netplan(/etc/netplan/) and apply changes
sudo netplan apply
Does the SuiteCRM version affect integration with Mautic?
Not that I’ve ever had a problem with