ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Embedded Twitter Feed Died

August 23, 2013 10:28am

Subscribe [2]
  • #1 / Aug 23, 2013 10:28am

    C4talyst

    2 posts

    Hello, I inherited an Expression Engine site recently and have no experience with this CMS. Several pages have a box for displaying Tweets. Their Twitter feed code was updated to the newer version 1.1 API and the tweets have been working fine for the last two months.

    A couple days ago the Twitter feed boxes stopped working. A blank space is displayed where the tweet content used to reside, and this error is visible in the admin area:

    Severity: Notice
    Message: Trying to get property of non-object
    Filename: libraries/Functions.php(683) : eval()‘d code
    Line Number: 24

    The error references line 24 in our code here (echo of the tweet text). I would post the entire block of code used for the tweets, but this forum won’t let me:

    foreach ($tweets as $item) {
     echo '<a href="http://twitter.com/%27.$twitteruser.%27" target="_blank" rel="noopener">'.$item->text.'</a>
    ';
    }

    I’m admittedly lost on this one…I’ve searched and have read about similar occurrences, but could not glean enough info to fix this on my own. Any thoughts?

  • #2 / Aug 26, 2013 11:04am

    C4talyst

    2 posts

    53 views but no clues…I’d gladly paypal someone for help with this.

    At this point I think we’re going to port this site to WordPress…sigh.

  • #3 / Aug 26, 2013 11:40am

    noregt

    360 posts

    If you post your issue at http://expressionengine.stackexchange.com/ there’s a much better chance someone will come up with an answer 😊

  • #4 / Aug 26, 2013 11:42am

    C4talyst

    2 posts

    Thanks! I did post on StackOverflow today, but not in that area. :(

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases