asciisd / zoho-v3

Laravel Zoho API V3 Package
MIT License
16 stars 17 forks source link

New Pick List throwing error #4

Closed 1337erik closed 1 year ago

1337erik commented 2 years ago

Attaching 2 screenshots of the issue, one of the location in the JSON converter where this error is being thrown, and the other of the output of the error itself and the dd() statement immediately prior to it.. This was working perfectly until I added this new Pick List element in the Deals module, not sure why it would be blowing up now.. any thoughts?

image

image
1337erik commented 2 years ago

The Pick List is a dropdown containing year-values.. 2022, 2023, 2024, etc

1337erik commented 2 years ago
image

I added this early-return for non-array values and it seems to be working..

1337erik commented 2 years ago

just concerned that this is a bandaid solution