Skip to content
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

Trying to get property of non-object #64

Open
rarepixel-studio opened this issue Nov 20, 2017 · 2 comments
Open

Trying to get property of non-object #64

rarepixel-studio opened this issue Nov 20, 2017 · 2 comments

Comments

@rarepixel-studio
Copy link

vendor/madcoda/php-youtube-api/src/Youtube.php:582
'resultsPerPage' => $resObj->pageInfo->resultsPerPage,

@rayhanz
Copy link

rayhanz commented Apr 2, 2018

Can you please provide full code.I am not getting from where you are collecting $resObj

Also, The "resultsPerPage" value have to be "Integer" means you are gonna set,

'resultsPerPage' => '10'

This would load 10 videos on every page

@rarepixel-studio
Copy link
Author

This is not my code, you can see the full method here:
https://github.com/madcoda/php-youtube-api/blob/v1.2.4/src/Youtube.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants