Problem:
Almost any attempt to use Mantis fails when executing the mc_issue_add SOAP command with "EXMLRPCError: SOAP-ENV:Server: Object of class SoapFault could not be converted to int" error.
Reason:
This is a known bug in Mantis.
Solution:
A). Update Mantis to the latest version.
B). Check server logs to learn real error from SoapFault object (for example, category name may be empty, but Mantis does not allow empty category).
See also:
- (Mantis) "EXMLRPCError: SOAP-ENV:Server: Cannot use object of type stdClass as array"
- (Mantis) "#1366: Incorrect string value" error
- (Mantis) "Error Type: SYSTEM NOTICE, Error Description: Array to string conversion" error
- (Mantis) All file attaches has size of 0 bytes
- Almost all sending to web-tracker (JIRA, Mantis, etc.) fails with generic error message or bug report files are not attached