Skip to content

Type error #4

Description

@shoutbomb

Hello,
I am a third party supporting a library. Using your example.php to validate some changes I would like to make. Providing all the 'client' parameters for a typical staff user, I encountered the following when running step 3 "Get the customer's preferred branch location & "patron ID" using PatronSearch"

Fatal error: Uncaught TypeError: Argument 1 passed to RCPL\Polaris\Controller\Patron::search() must be of the type array, float given, called in \polaris-api\example.php on line 56 and defined in \polaris-api\src\Controller\Patron.php on line 114

TypeError: Argument 1 passed to RCPL\Polaris\Controller\Patron::search() must be of the type array, float given, called in \polaris-api\example.php on line 56 in \polaris-api\src\Controller\Patron.php on line 114

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions