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
@tsteur should we throw an exception in case the parameter type doesn't match or would you expect the parameter to be converted to and array with one element?
justinvelluppillai
changed the title
Fatal error array_map(): Argument #2 ($array) must be of type array, string in API/API.php
Fix invalid parameter handling for PHP 8 in API.getBulkRequest
Feb 22, 2022
Issue with PHP 8:
GET: {"filter_limit":100}
POST: {"token_auth":"XYZANONYMIZED","module":"API","method":"API.getBulkRequest","format":"json","urls":"pageUrl=https://www.foo.bar/baz/123"}
urls
should have been an array but was astring
The text was updated successfully, but these errors were encountered: