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

Fatal Errors on using getSnaps(); #65

Open
Qfc9 opened this issue Dec 26, 2014 · 3 comments
Open

Fatal Errors on using getSnaps(); #65

Qfc9 opened this issue Dec 26, 2014 · 3 comments

Comments

@Qfc9
Copy link

Qfc9 commented Dec 26, 2014

So my program was running perfectly fine until about 3 days ago when suddenly these errors showed up. I did not change my code at all and I have re uploaded the original snapchat.php files to make sure I didn't mess those ones up. Do you have any ideas on what my problem is?

Fatal error: Call to a member function get() on a non-object in /homepages/15/d419114431/htdocs/bobink/snapchat/src/snapchat.php on line 317

Fatal error: Call to a member function get() on a non-object in /homepages/15/d419114431/htdocs/bobink/snapchat/src/snapchat.php on line 234

@ghost
Copy link

ghost commented Dec 27, 2014

Same problem here. Tried digging down a bit, and I took out lines 233-238 from snapchat.php getUpdates function, and now it fails because of an invalid auth_token, so I'm guessing that's why $this->cache->get('updates') was making it fail as well.

Edit: Didn't see this pull request before. This fixes the issue: #64

@Qfc9
Copy link
Author

Qfc9 commented Dec 28, 2014

I added the code from issue #64. I still have the same error.

@liamjack
Copy link

Commit fe0dd1c seems to fix this error. Snapchat seem to be cracking down on third party applications, my account was locked for using a "third party app", unlocking the account required changing the password. I think they worked this out just by looking at the Snapchat version number, noticing that we're all using the same version, same phone model :)

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