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

Vendor and GetMediaByCode issue #281

Closed
bpbaker502 opened this issue Mar 5, 2018 · 1 comment
Closed

Vendor and GetMediaByCode issue #281

bpbaker502 opened this issue Mar 5, 2018 · 1 comment
Labels

Comments

@bpbaker502
Copy link

Have apache installed, ran composer requirement, using file in htdocs, but when attempted to use this I recieve this error.

Deprecated: Non-static method InstagramScraper\Instagram::getMediaByCode() should not be called statically in C:\xampp\htdocs\instagram-php-scraper-master\index.php on line 45

Fatal error: Uncaught Error: Using $this when not in object context in C:\xampp\htdocs\instagram-php-scraper-master\src\InstagramScraper\Instagram.php:338 Stack trace: #0 C:\xampp\htdocs\instagram-php-scraper-master\index.php(45): InstagramScraper\Instagram::getMediaByCode('BQ6W8k6goDE') #1 {main} thrown in C:\xampp\htdocs\instagram-php-scraper-master\src\InstagramScraper\Instagram.php on line 338

@stale
Copy link

stale bot commented Apr 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 17, 2019
@stale stale bot closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant