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?