View Issue Details

IDProjectCategoryView StatusLast Update
0015687mantisbtGeneralpublic2013-04-17 17:42
Reporteralx.kuzza Assigned Torombert  
PrioritynormalSeverityblockReproducibilitysometimes
Status closedResolutionduplicate 
OSLinuxOS VersionOpen SuSE 12.2 
Summary0015687: Plugin is unable do download list of ticktes due to server error.
Description

This is a part of the log file:

[Wed Mar 27 02:59:15 2013] [error] [client 192.168.1.52] [mantisconnect.php] Error Type: SYSTEM NOTICE,\nError Description: Array to string conversion\nStack Trace:\nnusoap.php L5763 serializeType(<string>'return', <string>'http://futureware.biz/mantisconnect:IssueHeaderDataArray', <Array> { [0] => <Array> { ['id'] => 132, ['view_state'] => '10', ['last_updated'] => <Object><soapval> ( [name] => 'due_date', [type] => 'xsd:dateTime', [value] => '2013-03-27T07:59:12+00:00', [element_ns] => false, [type_ns] => false, [attributes] => false, [title] => 'NuSOAP', [version] => '0.9.5', [revision] => '$Revision: 1.123 $', [error_str] => '', [debug_str] => '', [charencoding] => true, [debugLevel] => 9, [XMLSchemaVersion] => 'http://www.w3.org/2001/XMLSchema', [soap_defencoding] => 'ISO-8859-1', [namespaces] => <Array> { ['SOAP-ENV'] => 'http://schemas.xmlsoap.org/soap/envelope/', ['xsd'] => 'http://www.w3.org/2001/XMLSchema', ['xsi'] => 'http://www.w3.org/2001/XMLSchema-instance', ['SOAP-ENC'] => 'http://schemas.
xmlsoap.org/soap/encoding/' }, [usedNamespaces] => <Array> { }, [typemap] => <Array> { ['http://www.w3.org/2001/XMLSchema'] => <Array> { ['string'] => 'string', ['boolean'] => 'boolean', ['float'] => 'double', ['double'] => 'double', ['decimal'] => 'double', ['duration'] => '', ['dateTime'] => 'string', ['time'] => 'string', ['date'] => 'string', ['gYearMonth'] => '', ['gYear'] => '', ['gMonthDay'] => '', ['gDay'] => '', ['gMonth'] => '', ['hexBinary'] => 'string', ['base64Binary'] => 'string', ['anyType'] => 'string', ['anySimpleType'] => 'string', ['normalizedString'] => 'string', ['token'] => 'string', ['language'] => '', ['NMTOKEN'] => '', ['NMTOKENS'] => '', ['Name'] => '', ['NCName'] => '', ['ID'] => '', ['IDREF'] => '', ['IDREFS'] => '', ['ENTITY'] => '', ['ENTITIES'] => '', ['integer'] => 'integer', ['nonPositiveInteger'] => 'integer', ['negativeInteger'] => 'integer', ['long'] => 'integer', ['int'] => 'integer', ['short'] => 'integer', ['byte'] => 'integer', ['nonNegativeInteger'] => 'integer', ['
unsignedLong'] => '', ['unsignedInt'] => '', ['unsignedShort'] => '', ['unsignedByte'] => '', ['positiveInteger'] => '' }, ['http://www.w3.org/2000/10/XMLSchema'] => <Array> { ['i4'] => '', ['int'] => 'integer', ['boolean'] => 'boolean', ['string'] => 'string', ['double'] => 'double', ['float'] => 'double', ['dateTime'] => 'string', ['timeInstant'] => 'string', ['base64Binary'] => 'string', ['base64'] => 'string', ['ur-type'] => 'array' }, ['http://www.w3.org/1999/XMLSchema'] => <Array> { ['i4'] => '', ['int'] => 'integer', ['boolean'] => 'boolean', ['string'] => 'string', ['double'] => 'double', ['float'] => 'double', ['dateTime'] => 'string', ['timeInstant'] => 'string', ['base64Binary'] => 'string', ['base64'] => 'string', ['ur-type'] => 'array' }, ['http://soapinterop.org/xsd'] => <Array> { ['SOAPStruct'] => 'struct' }, ['http://schemas.xmlsoap.org/soap/encoding/'] => <Array> { ['base64'] => 'string', ['array'] => 'array', ['Array'] => 'array' }, ['http://xml.apache.org/xml-soap'] => <Array> { [0] => '
Map' } }, [xmlEntities] => <Array> { ['quot'] => '"', ['amp'] => '&', ['lt'] => '<', ['gt'] => '>', ['apos'] => '\'' } ), ['project'] => 1, ['category'] => 'Strategy', ['priority'] => 30, ['severity'] => 50, ['status'] => 50, ['reporter'] => 3, ['summary'] => 'Trail plugin', ['handler'] => 3, ['resolution'] => 10, ['attachments_count'] => 0, ['notes_count'] => 1 }, [1] => <Array> { ['id'] => 139, ['view_state'] => '10', ['last_updated'] => <Object><soapval> ( [name] => 'due_date', [type] => 'xsd:dateTime', [value] => '2013-03-27T07:49:02+00:00', [element_ns] => false, [type_ns] => false, [attributes] => false, [title] => 'NuSOAP', [version] => '0.9.5', [revision] => '$Revision: 1.123 $', [error_str] => '', [debug_str] => '', [charencoding] => true, [debugLevel] => 9, [XMLSchemaVersion] => 'http://www.w3.org/2001/XMLSchema', [soap_defencoding] => 'ISO-8859-1', [namespaces] => <Array> { ['SOAP-ENV'] => 'http://schemas.xmlsoap.org/soap/envelope/', ['xsd'] => 'http://www.w3.org/2001/XMLSchema', ['xsi'] => 'http:
//www.w3.org/2001/XMLSchema-instance', ['SOAP-ENC'] => 'http://schemas.xmlsoap.org/soap/encoding/' }, [usedNamespaces] => <Array> { }, [typemap] => <Array> { ['http://www.w3.org/2001/XMLSchema'] => <Array> { ['string'] => 'string', ['boolean'] => 'boolean', ['float'] => 'double', ['double'] => 'double', ['decimal'] => 'double', ['duration'] => '', ['dateTime'] => 'string', ['time'] => 'string', ['date'] => 'string', ['gYearMonth'] => '', ['gYear'] => '', ['gMonthDay'] => '', ['gDay'] => '', ['gMonth'] => '', ['hexBinary'] => 'string', ['base64Binary'] => 'string', ['anyType'] => 'string', ['anySimpleType'] => 'string', ['normalizedString'] => 'string', ['token'] => 'string', ['language'] => '', ['NMTOKEN'] => '', ['NMTOKENS'] => '', ['Name'] => '', ['NCName'] => '', ['ID'] => '', ['IDREF'] => '', ['IDREFS'] => '', ['ENTITY'] => '', ['ENTITIES'] => '', ['integer'] => 'integer', ['nonPositiveInteger'] => 'integer', ['negativeInteger'] => 'integer', ['long'] => 'integer', ['int'] => 'integer', ['short'] => '
integer', ['byte'] => 'integer', ['nonNegativeInteger'] => 'integer', ['unsignedLong'] => '', ['unsignedInt'] => '', ['unsignedShort'] => '', ['unsignedByte'] => '', ['positiveInteger'] => '' }, ['http://www.w3.org/2000/10/XMLSchema'] => <Array> { ['i4'] => '', ['int'] => 'integer', ['boolean'] => 'boolean', ['string'] => 'string', ['double'] => 'double', ['float'] => 'double', ['dateTime'] => 'string', ['timeInstant'] => 'string', ['base64Binary'] => 'string', ['base64'] => 'string', ['ur-type'] => 'array' }, ['http://www.w3.org/1999/XMLSchema'] => <Array> { ['i4'] => '', ['int'] => 'integer', ['boolean'] => 'boolean', ['string'] => 'string', ['double'] => 'double', ['float'] => 'double', ['dateTime'] => 'string', ['timeInstant'] => 'string', ['base64Binary'] => 'string', ['base64'] => 'string', ['ur-type'] => 'array' }, ['http://soapinterop.org/xsd'] => <Array> { ['SOAPStruct'] => 'struct' }, ['http://schemas.xmlsoap.org/soap/encoding/'] => <Array> { ['base64'] => 'string', ['array'] => 'array', ['Array']
=> 'array' }, ['http://xml.apache.org/xml-soap'] => <Array> { [0] => 'Map' } }, [xmlEntities] => <Array> { ['quot'] => '"', ['amp'] => '&', ['lt'] => '<', ['gt'] => '>', ['apos'] => '\'' } ), ['project'] => 1, ['category'] => 'Strategy', ['priority'] => 30, ['severity'] => 50, ['status'] => 50, ['reporter'] => 3, ['summary'] => 'Implement swing-based filter at entry.', ['handler'] => 3, ['resolution'] => 10, ['attachments_count'] => 1, ['notes_count'] => 1 }, [2] => <Array> { ['id'] => 142, ['view_state'] => '10', ['last_updated'] => <Object><soapval> ( [name] => 'due_date', [type] => 'xsd:dateTime', [value] => '2013-03-27T07:38:12+00:00', [element_ns] => false, [type_ns] => false, [attributes] => false, [title] => 'NuSOAP', [version] => '0.9.5', [revision] => '$Revision: 1.123 $', [error_str] => '', [debug_str] => '', [charencoding] => true, [debugLevel] => 9, [XMLSchemaVersion] => 'http://www.w3.org/2001/XMLSchema', [soap_defencoding] => 'ISO-8859-1', [namespaces] => <Array> { ['SOAP-ENV'] => 'http://
schemas.xmlsoap.org/soap/envelope/', ['xsd'] => 'http://www.w3.org/2001/XMLSchema', ['xsi'] => 'http://www.w3.org/2001/XMLSchema-instance', ['SOAP-ENC'] => 'http://schemas.xmlsoap.org/soap/encoding/' }, [usedNamespaces] => <Array> { }, [typemap] => <Array> { ['http://www.w3.org/2001/XMLSchema'] => <Array> { ['string'] => 'string', ['boolean'] => 'boolean', ['float'] => 'double', ['double'] => 'double', ['decimal'] => 'double', ['duration'] => '', ['dateTime'] => 'string', ['time'] => 'string', ['date'] => 'string', ['gYearMonth'] => '', ['gYear'] => '', ['gMonthDay'] => '', ['gDay'] => '', ['gMonth'] => '', ['hexBinary'] => 'string', ['base64Binary'] => 'string', ['anyType'] => 'string', ['anySimpleType'] => 'string', ['normalizedString'] => 'string', ['token'] => 'string', ['language'] => '', ['NMTOKEN'] => '', ['NMTOKENS'] => '', ['Name'] => '', ['NCName'] => '', ['ID'] => '', ['IDREF'] => '', ['IDREFS'] => '', ['ENTITY'] => '', ['ENTITIES'] => '', ['integer'] => 'integer', ['nonPositiveInteger'] => '
integer', ['negativeIn
[Wed Mar 27 02:59:47 2013] [error] [client 192.168.1.52] [mantisconnect.php] Error Type: SYSTEM NOTICE,\nError Description: Array to string conversion\nStack Trace:\nnusoap.php L6335 serializeType(<string>'notes', <string>'http://futureware.biz/mantisconnect:IssueNoteDataArray', <Array> { [0] => <Array> { ['id'] => '95', ['reporter'] => <Array> { ['id'] => '3', ['name'] => 'asmith', ['real_name'] => 'Alex Kuznetsov', ['email'] => 'alx.kuzza@gmail.com' }, ['date_submitted'] => '2013-03-27T07:54:38+00:00', ['last_modified'] => '2013-03-27T07:54:38+00:00', ['text'] => 'eclipse test', ['view_state'] => <Array> { ['id'] => '10', ['name'] => 'public' }, ['time_tracking'] => '0', ['note_type'] => '0', ['note_attr'] => '' } }, <string>'encoded', <boolean>false, <boolean>true)\nnusoap.php L6083 serializeComplexTypeElements(<Array> { ['name'] => 'IssueData', ['typeClass'] => 'complexType', ['phpType'] => 'struct', ['simpleContent'] => 'false', ['compositor'] => 'all', ['elements'] => <Array> { ['id'] => <Array> { ['
name'] => 'id', ['type'] => 'http://www.w3.org/2001/XMLSchema:integer', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['view_state'] => <Array> { ['name'] => 'view_state', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['last_updated'] => <Array> { ['name'] => 'last_updated', ['type'] => 'http://www.w3.org/2001/XMLSchema:dateTime', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['project'] => <Array> { ['name'] => 'project', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['category'] => <Array> { ['name'] => 'category', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['priority'] => <Array> { ['name'] => 'priority', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['severity'] => <Array> { ['name'] => 'severity', ['type'] => 'http://futureware.biz/
mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['status'] => <Array> { ['name'] => 'status', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['reporter'] => <Array> { ['name'] => 'reporter', ['type'] => 'http://futureware.biz/mantisconnect:AccountData', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['summary'] => <Array> { ['name'] => 'summary', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['version'] => <Array> { ['name'] => 'version', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['build'] => <Array> { ['name'] => 'build', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['platform'] => <Array> { ['name'] => 'platform', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['os'] =>
<Array> { ['name'] => 'os', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['os_build'] => <Array> { ['name'] => 'os_build', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['reproducibility'] => <Array> { ['name'] => 'reproducibility', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['date_submitted'] => <Array> { ['name'] => 'date_submitted', ['type'] => 'http://www.w3.org/2001/XMLSchema:dateTime', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['sponsorship_total'] => <Array> { ['name'] => 'sponsorship_total', ['type'] => 'http://www.w3.org/2001/XMLSchema:integer', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['handler'] => <Array> { ['name'] => 'handler', ['type'] => 'http://futureware.biz/mantisconnect:AccountData', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['projection'] => <Array> { ['name'] => '
projection', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['eta'] => <Array> { ['name'] => 'eta', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['resolution'] => <Array> { ['name'] => 'resolution', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRef', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['fixed_in_version'] => <Array> { ['name'] => 'fixed_in_version', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['target_version'] => <Array> { ['name'] => 'target_version', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['description'] => <Array> { ['name'] => 'description', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['steps_to_reproduce'] => <Array> { ['name'] => 'steps_to_reproduce', ['type']
=> 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['additional_information'] => <Array> { ['name'] => 'additional_information', ['type'] => 'http://www.w3.org/2001/XMLSchema:string', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['attachments'] => <Array> { ['name'] => 'attachments', ['type'] => 'http://futureware.biz/mantisconnect:AttachmentDataArray', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['relationships'] => <Array> { ['name'] => 'relationships', ['type'] => 'http://futureware.biz/mantisconnect:RelationshipDataArray', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['notes'] => <Array> { ['name'] => 'notes', ['type'] => 'http://futureware.biz/mantisconnect:IssueNoteDataArray', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['custom_fields'] => <Array> { ['name'] => 'custom_fields', ['type'] => 'http://futureware.biz/mantisconnect:CustomFieldValueForIssueDataArray', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['due_date'] =>
<Array> { ['name'] => 'due_date', ['type'] => 'http://www.w3.org/2001/XMLSchema:dateTime', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['monitors'] => <Array> { ['name'] => 'monitors', ['type'] => 'http://futureware.biz/mantisconnect:AccountDataArray', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['sticky'] => <Array> { ['name'] => 'sticky', ['type'] => 'http://www.w3.org/2001/XMLSchema:boolean', ['minOccurs'] => '0', ['form'] => 'unqualified' }, ['tags'] => <Array> { ['name'] => 'tags', ['type'] => 'http://futureware.biz/mantisconnect:ObjectRefArray', ['minOccurs'] => '0', ['form'] => 'unqualified' } } }, <Array> { ['id'] => 132, ['view_state'] => <Array> { ['id'] => '10', ['name'] => 'public' }, ['last_updated'] => <Object><soapval> ( [name] => 'due_date', [type] => 'xsd:dateTime', [value] => '2013-03-27T07:59:12+00:00', [element_ns] => false, [type_ns] => false, [attributes] => false, [title] => 'NuSOAP', [version] => '0.9.5', [revision] => '$Revision: 1.123 $', [error_str] => '', [debug_str]
=> '', [charencoding] => true, [debugLevel] => 9, [XMLSchemaVersion] => 'http://www.w3.org/2001/XMLSchema', [soap_defencoding] => 'ISO-8859-1', [namespaces] => <Array> { ['SOAP-ENV'] => 'http://schemas.xmlsoap.org/soap/envelope/', ['xsd'] => 'http://www.w3.org/2001/XMLSchema', ['xsi'] => 'http://www.w3.org/2001/XMLSchema-instance', ['SOAP-ENC'] => 'http://schemas.xmlsoap.org/soap/encoding/' }, [usedNamespaces] => <Array> { }, [typemap] => <Array> { ['http://www.w3.org/2001/XMLSchema'] => <Array> { ['string'] => 'string', ['boolean'] => 'boolean', ['float'] => 'double', ['double'] => 'double', ['decimal'] => 'double', ['duration'] => '', ['dateTime'] => 'string', ['time'] => 'string', ['date'] => 'string', ['gYearMonth'] => '', ['gYear'] => '', ['gMonthDay'] => '', ['gDay'] => '', ['gMonth'] => '', ['hexBinary'] => 'string', ['base64Binary'] => 'string', ['anyType'] => 'string', ['anySimpleType'] => 'string', ['normalizedString'] => 'string', ['token'] => 'string', ['language'] => '', ['NMTOKEN'] => '', ['
NMTOKENS'] => '', ['Name'

Additional Information

Everything was working until recently we started receiving this error.

TagsNo tags attached.

Relationships

duplicate of 0014157 closedrombert Array to string conversion error on soap request with PHP 5.4 

Activities

rombert

rombert

2013-03-27 09:03

reporter   ~0035976

If you want to run MantisBT on PHP 5.4 or newer please make sure that

  1. MantisBT 1.2.13 or newer is installed
  2. the php5-soap extension is installed and enabled

alx.kuzza

alx.kuzza

2013-03-27 09:11

reporter   ~0035977

We have MantisBT 1.2.14 and php5-soap is installed. Still the same error.
Any other suggestions?

rombert

rombert

2013-03-27 09:18

reporter   ~0035978

Perhaps $g_mc_use_nusoap is set to ON?

http://www.mantisbt.org/docs/master-1.2.x/en/administration_guide.html#ADMIN.CONFIG.SOAP

alx.kuzza

alx.kuzza

2013-03-27 18:28

reporter   ~0035985

Many thanks, just explicitly put $g_mc_use_nusoap=OFF; into the config file and now everything is working again. However strange thing why it was working before...