WordPress.org

Ready to get started?Download WordPress

Forums

Add Twitter, Facebook Like, Google plus one Social share
[resolved] Pinterest Problem (5 posts)

  1. heredia21
    Member
    Posted 2 years ago #

    I get this only when pinterest is active and i try to view any image on site.

    Warning: urlencode() expects parameter 1 to be string, array given in /home/..../public_html/wp-content/plugins/twitter-facebook-google-plusone-share/tf_display.php on line 249

    http://wordpress.org/extend/plugins/twitter-facebook-google-plusone-share/

  2. BeingMaverick
    Member
    Plugin Author

    Posted 2 years ago #

    Can you please send a link where you are getting this error?

  3. heredia21
    Member
    Posted 2 years ago #

    Here is an example where the error will appear when pinterest is activated - http://www.blackberryempire.com/2012/02/24/rim-marketing-stepping-up-blackberry-giving-away-free-ny-knicks-tickets-to-users/ny/ on a n image basically.

  4. BeingMaverick
    Member
    Plugin Author

    Posted 2 years ago #

    Dude, the theme you are using uses timthumb for all the images on the site.
    Use of timthumb is not recommended as it was prone to biggest hacking attack recently.
    Since pinterest requires image for it to work, the code cannot find any image in your post as all the image src is wrapped around timthumb code.

    Try using the featured image for wordpress. You need to manually add featured image for each post.

    I would recommend you to change the theme.

  5. BeingMaverick
    Member
    Plugin Author

    Posted 2 years ago #

    ANyways I have got rid of urlencode for pinterest links. So hopefully the issue should go away for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic