Open areynold opened 1 year ago
When pulling a story, npr_api_expressionengine->query_by_url() passes the wrong argument type to array_key_exists, resulting in the following fatal error:
array_key_exists
TypeError Caught array_key_exists(): Argument #2 ($array) must be of type array, IllinoisPublicMedia\NprStoryApi\Libraries\Dto\Http\Api_response given user/addons/npr_story_api/libraries/publishing/npr_api_expressionengine.php:39
affects php 8+
same error exists on user/addons/npr_story_api/ext.npr_story_api.php:555
user/addons/npr_story_api/ext.npr_story_api.php:555
When pulling a story, npr_api_expressionengine->query_by_url() passes the wrong argument type to
array_key_exists
, resulting in the following fatal error: