0

Upgraded my WHMCS to the latest, so also updated to the latest WHMCS module.

However resource updates aren’t working, they fail with error:

UsageUpdate Fault: (Code: 0, Message: GetPackageBandwidth Fault: (Code: 0, Message: SOAP Fault: (Code: 0, Message: System.Web.Services.Protocols.SoapException: Server was unable to read request. —> System.InvalidOperationException: There is an error in the XML document. —> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read131_GetPackageBandwidth() at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) — End of inner exception stack trace — at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters() — End of inner exception stack trace — at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()), Service ID: 4)

I don’t use the Bandwidth counter in SolidCP as it still isn’t working (the looping error with SmarterMail) – so I assume that’s why this is failing. How can I tell the module not to count bandwidth?

Answered question