WordPress.org

Ready to get started?Download WordPress

Forums

Simply Instagram
Fatal Error (19 posts)

  1. nabeelco
    Member
    Posted 1 year ago #

    Hi all,

    I was hopeing to get a bit of help here.

    I always get:
    Fatal error: Cannot use object of type WP_Error as array in /wp-content/plugins/simply-instagram/simply-instagram-functions.php on line 57

    Any ideas?

    http://wordpress.org/extend/plugins/simply-instagram/

  2. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    I'm assuming you are using self-feed widget. The error response is coming from json_decode error and it seems that the instagram server can't communicate with your site.

    Did you authorize the plugin?

  3. nabeelco
    Member
    Posted 1 year ago #

    I thought I did, I'll double check. I had a bad internet connection the day I set it up, so it may have not gone through properly...

  4. nabeelco
    Member
    Posted 1 year ago #

    Ok... How do I go through the authorization process again? Because I don't see an option for it.

    I did go an deactivate and reactivate the plugin which prompted me to log into Instagram, but once I did, it went back to behaving like it was before.

  5. nabeelco
    Member
    Posted 1 year ago #

    Thought, my site runs on secure HTTP, could that be the problem?

  6. nabeelco
    Member
    Posted 1 year ago #

    Ok, I logged into Instagram, revoked access, disabled Simply-Instagram, re-enabled it, re-logged in, and reauthorized, and still the same problem.

  7. nabeelco
    Member
    Posted 1 year ago #

    If you want to see for yourself: https://therealnabeel.com

    Bottom right hand widget.

  8. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Can you use other widget if it still having the same problem?

  9. nabeelco
    Member
    Posted 1 year ago #

    I tried putting the tag "[simply_instagram endpoints="users" type="self-feed" size="thumbnail"]" into the main page, with the same problem.
    I'm going to try a different theme.

  10. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    No it's not the theme. The plugin is not working for your site. I haven't tested it on ssl site yet.

  11. nabeelco
    Member
    Posted 1 year ago #

    Still doesn't seem to work without SSL.

    (Thanks for all your help BTW)

  12. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

    Can you access your worpdress database? If so, I need you to get the access token on instagram database in your site. It should be wp_instagram but depends on how you set up your wordpress site. Would that be ok for you?

    I'm going to test the endpoints on api console.

  13. nabeelco
    Member
    Posted 1 year ago #

    Sure, mind if I e-mail it to you directly?

  14. rollybueno
    Member
    Plugin Author

    Posted 1 year ago #

  15. ecoevolver
    Member
    Posted 1 year ago #

    Same Problem.
    What was the workaround or fix?

  16. nabeelco
    Member
    Posted 1 year ago #

    Never got it fixed as I recall actually...

  17. pimschaaf
    Member
    Posted 1 year ago #

    I get this error when testing on localhost. While I can authorize, the widget does not work.

    rollybueno posted 7 months ago:

    the instagram server can't communicate with your site

    Why is bidirectional communication required? As I see it, I only have to POST and GET to authorize and retrieve the images from the Instagram servers?

  18. Spencer
    Member
    Posted 9 months ago #

    I'm getting this error too. It looks like this program won't work if you run it locally, like on localhost, because the plugin is designed to have to communicate with your site, which won't happen if it's not online. Kind of a drawback, in my humble opinion. There are numerous Instagram plugins, like Instapress and Alpine, that work just fine on a test server not connected to the Internet.

    I'd love to help tweak this great plugin if it's available in some public software repository. Otherwise, we hope to encourage you to keep improving it :-).

  19. sebasll
    Member
    Posted 8 months ago #

    I'm experiencing the exact same error. Except it works fine locally, just not on my testing server.

    Cannot use object of type WP_Error as array in /wp-content/plugins/simply-instagram/simply-instagram-functions.php on line 57

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic