• Resolved markamp

    (@markamp)


    Hi grosbouff,

    i’m wondering about some cached boards which are stucked in status “pending”. This boards always contain one or more pins which can’t be imported. The error message is always the same: “Error while setting post thumbnail: https://s-media-cache-ak0.pinimg.com/originals/ad/c5/2b/adc52bc9c759b0db342caad156b61a27.jpg.” (for example).

    I figured out that line 204 in file “pinim-functions.php” throws the error “Invalid file type”. The function “pinim_fetch_remote_image” can’t return a valid filename caused by special characters. As far as i can see do all regarding files contain in their titles characters from a “foreign” language (for example Arabic or just “umlaute” like “ä” in german). But the more i crawl into your code the harder it becomes for me to follow ….. caused by my elementary coding skills, not by yours ! 😉

    Maybe you can have a look at it one time?

    Marc

    https://ww.wp.xz.cn/plugins/pinterest-importer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author grosbouff

    (@grosbouff)

    Thanks for this !
    I just changed the way images are downloaded in 2.0.4.
    Tell me if it works better !

    Thread Starter markamp

    (@markamp)

    Yes! It does! 🙂 Not a single error message. Thanks!

    Plugin Author grosbouff

    (@grosbouff)

    Ok, I set this to resolved then.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error while setting post thumbnail’ is closed to new replies.