The function ma_lookup_members_by_identifying gets called with an array of member ids in fetchMembersNoIdentity. When caching the response, that array is converted to a string, and causes the warning "Array to string conversion in /usr/share/geni-ch/lib/php/ma_client.php on line 416" to be written to the portal log.
We could explicitly check for this case and convert the array to a string to avoid this warning message. We could use print_r($am_urls, TRUE) to explicitly create a string and avoid the warning message.
The function
ma_lookup_members_by_identifying
gets called with an array of member ids infetchMembersNoIdentity
. When caching the response, that array is converted to a string, and causes the warning "Array to string conversion in /usr/share/geni-ch/lib/php/ma_client.php on line 416" to be written to the portal log.We could explicitly check for this case and convert the array to a string to avoid this warning message. We could use
print_r($am_urls, TRUE)
to explicitly create a string and avoid the warning message.