stormuk / storm-twitter

A Twitter API 1.1 compliant class for PHP that provides a simple method of getting a number of tweets for a user, and providing them in an array
30 stars 10 forks source link

Array error #6

Open gingerbeardman opened 10 years ago

gingerbeardman commented 10 years ago

Warning: array_slice() expects parameter 1 to be array, null given in [site url]/plugins/oauth-twitter-feed-for-developers/StormTwitter.class.php on line 71

lgladdy commented 10 years ago

Can you let me know the full function call you're making to getTweets? I'm not sure how this can happen, unless maybe you set count to 0 or something? We do a check to make sure that is an array before that code is ever executed.

Also, please grab the latest commit for you try, so I can get the right line numbers :)