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

First parameter must either be an object or the name of an existing class #356

Open
HK50 opened this issue Mar 29, 2023 · 2 comments
Open
Assignees
Labels
need-investigations Need investigations to classify

Comments

@HK50
Copy link

HK50 commented Mar 29, 2023

Description
how to resolve error "First parameter must either be an object or the name of an existing class" in instagram-user-feed

@HK50 HK50 added the need-investigations Need investigations to classify label Mar 29, 2023
@IrfanPatelDev
Copy link

I am also facing this issue

@dnabeast
Copy link

I ran into this problem on my production server. It turned out the API response was telling me I had a bad password. I double checked and the password was fine plus my local server was running without a problem. I think the instagram API was giving the wrong error message but the correct error code 403. I suspect they flagged my IP. I'm not sure if perhaps it's a temporary thing and that I accidentally sent too many calls in a small amount of time, or if they just don't like me.

But the login code wasn't catching that the $query was empty. It just assumed things had gone swimmingly.

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

No branches or pull requests

4 participants