WordPress.org

Forums

oAuth Twitter Feed for Developers
[resolved] Breaks homepage (7 posts)

  1. qubed
    Member
    Posted 1 year ago #

    Hi all,

    When updating the plugin, my sites homepage and other pages break and only show background graphics, but no content.

    Any idea what would be causing this or what a remedy would be?

    https://wordpress.org/plugins/oauth-twitter-feed-for-developers/

  2. qubed
    Member
    Posted 1 year ago #

    Appears this was a permissions issue. Resolved.

  3. Naz
    Member
    Posted 1 year ago #

    qubed, I think I'm experiencing the same issue. Could you tell me how you managed to solve it? Thanks!

  4. RubenBristian
    Member
    Posted 1 year ago #

    This error is pure dumbness. Don't know what they did in the latest version but this is how it acts. The plugin thinks that the $tweet is actually a STD class, while it's not.

    Anyway, the solution is even dumber than the actual bug (tested in many environments and it works):

    Open the file where you make the $tweet call and resave it. That's it! It will work out of the blue.

  5. Storm Consultancy
    Member
    Plugin Author

    Posted 1 year ago #

    Just about to release a fix to fix this properly.

    If you don't get a cached load, the upstream OAuth library we were using started returning objects, rather than arrays!

    Sorry guys!

  6. Storm Consultancy
    Member
    Plugin Author

    Posted 1 year ago #

    Version 2.2.1 fixes this issue.

    This wasn't an issue when cached, as the json stored in the cache was decoded into arrays anyway, but when not cached, it was an object rather than an array, leading to that error.

  7. RubenBristian
    Member
    Posted 1 year ago #

    Thanks a lot for the update guys! It was the craziest error ever :))

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic