Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalide argument error #7

Open
icemancast opened this issue Jul 18, 2013 · 2 comments
Open

invalide argument error #7

icemancast opened this issue Jul 18, 2013 · 2 comments

Comments

@icemancast
Copy link

twitter feed runs first time but then after first load i get this error.

Warning: Invalid argument supplied for foreach() in /{directory}/wp-content/plugins/displaytweets-master/displaytweets.php on line 591

@blainerobison
Copy link

I noticed this happening when a tweet contained special characters. This would cause the serialization process when setting/getting transient data to return a string as opposed to the expected array.

@pekastel
Copy link

As a workaround you can disable transient caching, doing that will cause more hits to the twitter api, but it will always work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants