PHP Fatal Error: Cannot use object of type stdClass as array
-
Hey there! I am troubleshooting some server issues (probably unrelated to this issue) for a client of mine who has been using Twitter Stream for awhile now. In looking at the logs, I’m seeing a bunch of the following errors
PHP Fatal error: Cannot use object of type stdClass as array in D:\websites\whole30.com\site\wp-content\plugins\twitter-stream\twitter-stream.php on line 371
Windows Server 2012, WordPress v3.9.1, Twitter Stream v2.6.2
When I look at the line indicated in the error message, it’s the following (inside twitter_stream_parse_tweets()):
$followers = $content[0]->user->followers_count;
Any thoughts as to what could be causing these errors?Thanks,
Nick Kirkes
- The topic ‘PHP Fatal Error: Cannot use object of type stdClass as array’ is closed to new replies.