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

Unable to activate plugin #2

Open
JokerDanny21 opened this issue Jul 8, 2020 · 1 comment
Open

Unable to activate plugin #2

JokerDanny21 opened this issue Jul 8, 2020 · 1 comment

Comments

@JokerDanny21
Copy link

JokerDanny21 commented Jul 8, 2020

Hey,

I was trying to use your plugin, but Im having trouble to activate it in my site.
Here the error I get.

Plugin could not be activated because it triggered a fatal error.

Fatal error: Uncaught Error: Call to a member function init() on bool in /Users/danny/workspace/www.qosqo.lu/www/wp-content/plugins/instagram-api/instagram-api.php:256 Stack trace: #0 /Users/danny/workspace/www.qosqo.lu/www/wp-admin/includes/plugin.php(2223): include() #1 /Users/danny/workspace/www.qosqo.lu/www/wp-admin/plugins.php(175): plugin_sandbox_scrape('instagram-api/i...') #2 {main} thrown in /Users/danny/workspace/www.qosqo.lu/www/wp-content/plugins/instagram-api/instagram-api.php on line 256

I tried deactivating all others plugin first and activate your plugin, but still get the same error.

Any idea why it isn't working ?

@msigley
Copy link
Owner

msigley commented Jul 17, 2020

Please make sure you have defined the INSTAGRAM_CLIENT_ID and INSTAGRAM_CLIENT_SECRET as explained in the readme:
https://github.com/msigley/WP-Instagram-API/blob/master/README.md

The issue here is there is no error message explaining that the defines are missing. I will leave this issue open until I add the error message.

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