Problem:
Almost any attempt to use Mantis fails when executing the mc_issue_add SOAP command with "EXMLRPCError: SOAP-ENV:Server: Cannot use object of type stdClass as array" error.
Reason:
This is a known bug in Mantis.
Solution:
A). Update Mantis to the latest version.
B). Fix mc_project_api.php file manually as described here.
See also:
- (Mantis) "EXMLRPCError: SOAP-ENV:Server: Object of class SoapFault could not be converted to int" error
- (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