You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.
Worth noting I am running PHP 7.2.15 - maybe this behaviour worked before with an older version?
The issue is also in Endpoint search method, it tries to count a BareResource object: } while ($allPages && sizeof($results) >= $safeLimit && ++$params['page_number']);
Perhaps a quick workaround to to make BareResource implement Countable and return a count of 1?
This is happening with various API calls and makes the library unusable.
In CustomField, we have
$field = CRM::fieldList('customFieldDefinition', $idOrName, true);
Since it then tries to do a
sizeof
on that field, and this field can be an object of type BareResource, we get a fatal error.The text was updated successfully, but these errors were encountered: