During the past week I was working on our server, clean up and updates. After finishing the updates. I received a notification from the client, expressing that they are not receiving the form submissions in Sage CRM.

The overview:

The forms are built using Gravity forms. The submissions are converting to XML using Forms: 3rd-Party Integration and are being sent to Sage CRM. The problem was noticed when the submission form notification shows below information

There was an error when trying to integrate with the 3rd party service {XML naar Sage Fueld WP} (https://www.onlinesagecrm.com/CRMServiceBroker/custompages/servicebroker/servicebrokerwebsite.asp).

**FORM**
Title: WP Fueld – LinkedIn 2.0
Intended Recipient: –na–
Source: <a href="https://fueld.nl/linkedin-nieuwe-features/" data-saferedirecturl="https://www.google.com/url?q=https://fueld.nl/linkedin-nieuwe-features/&source=gmail&ust=1616148577572000&usg=AFQjCNFdfYzyvlFAXUdaqTqawHC_j4BNqw">https://fueld.nl/linkedin-nieuwe-features/</a>

**SUBMISSION**
Array
(
[timeout] => 10
[body] => Array
(
[formname] => WP Fueld – LinkedIn 2.0
[email] => <a href="mailto:[email protected]">[email protected]</a>
)

)

**RAW RESPONSE**
Array
(
[safe_message] => error object
[object] => WP_Error Object
(
[errors] => Array
(
[http_request_failed] => Array
(
[0] => cURL error 6: Could not resolve host: <a href="http://www.onlinesagecrm.com/" data-saferedirecturl="https://www.google.com/url?q=http://www.onlinesagecrm.com&source=gmail&ust=1616148577572000&usg=AFQjCNHzq_oZJOuVCKnYijLKtvz_5djnAw">www.onlinesagecrm.com</a>; Name or service not known
)

)

[error_data] => Array
(
)

)

)

The main error was “cURL error 6: Could not resolve host: www.onlinesagecrm.com; Name or service not known” which somehow shows something will not pass to the Sage CRM. So that means somehow in between something will block that process from executing.

I talked to Gravity forms and it was not from their side. I talked to sage and looked for information about the problem but nothing found. Then I realized This can occur when PHP has been running for a long time.

I restarted PHP using the steps below;

  1. Log into Plesk.
  2. Go to Tools & Settings > Services Management.
  3. Press the highlighted button as on the screenshot below in front of the required PHP  service to restart it and everything went back to normal.

Then checked the integration by filling the forms and the problem solved!