Some of my ExpressionEngine (EE2) websites that run Twitter Search 2 by Exp:resso have recently started throwing out PHP Error Notifications, and I can't see why.
A PHP Error Was Encountered
Severity: Notice
Message: Undefined property: stdClass::$to_user_id_str
Filename: twitter_search/pi.twitter_search.php
Line Number: 107
The code inside the template is:
{exp:twitter_search q="from:@xxxxxx+OR+from:@xxxxxxxx+OR+from:@xxxxxx" rpp="5" lang="en" cache="yes" auto_links="yes" refresh="5"}
<div class="tweetItem clearfix">
<a href="{tweet_url}" target="_blank"><img src="{profile_image_url}" width="40" height="40" border="0"/></a>
<div class="flRight tweetAuthor"><em><a href="{tweet_url}" target="_blank">{from_user}</a></em> - {text}</div>
<div class="flRight tweetAuthor tweetDate">{relative_tweet_date} ago</div>
</div>
{/exp:twitter_search}
Nothing has been changed in the template code or server side, it just started throwing these notices.
I'm wondering whether it could be Twitter API limits as the sites are on the same server, but the tweets are still being pulled and rendered correctly, so it's not just appearing blank.
Any suggestions would be greatly appreciated.