When I run contextio_contact_messages_list($account_id, $email)), I get the following exception:

Exception: The $type argument must be a string in contextio_get_contact_related_data! in _contextio_check_types() (line 2373...

contextio_contact_messages_list returns contextio_get_contact_related_data(CONTEXTIO_CONTACT_TYPE_MESSAGES, $account_id, $email, $filters, $contextio);
but in _contextio_check_types() function: 'type' => CONTEXTIO_STRING,
which contradicts to CONTEXTIO_CONTACT_TYPE_MESSAGES defined as 1.

CommentFileSizeAuthor
#4 2732137-4.patch471 bytesbalagan

Comments

balagan created an issue. See original summary.

balagan’s picture

Changing line 2325 to 'type' => CONTEXTIO_INT, seemed to fix the problem.

balagan’s picture

Assigned: Unassigned » balagan
balagan’s picture

StatusFileSize
new471 bytes

Enclosed a patch.

balagan’s picture

Assigned: balagan » Unassigned
Status: Active » Needs review