-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when iterating over helpCenter->categories #543
Comments
I have the same issue when trying to use the iterator for articles: I get an exception thrown:
The stdclass it's trying to access has an Seems like you can set $objectNamePlural = 'articles' in the zendesk Article class to work around this in the shortterm. Additionally, I get an invalid cursor error when trying to fetch the next page - seems like the cursor needs to be urlencoded as the cursor I got contained a |
- This should assist with fixing this issue [1] [1] #543
When trying to do
$client->helpCenter->categories()->iterator()
I get the warningThis seems to stem from the
Zendesk\API\Resources\HelpCenter\ResourceAbstract
prependinghelp_center/
to the key that is later used byZendesk\API\Traits\Utility\Pagination\CbpStrategy
to get the data from the response.I'm using zendesk/zendesk_api_client_php version v3.1.0
The text was updated successfully, but these errors were encountered: