• Anonymous User 96400

    (@anonymized-96400)


    Hello,

    I’m having problems with the latest alpha Post-Thumb and WP 2.6. This is the warning I was getting:

    Warning: unserialize() expects parameter 1 to be string, array given in /www/htdocs/w006dc1d/travelogues/wp-content/plugins/post-thumb/post-thumb.php on line 83

    I tried switching back to the stable version, but then only my category images were displayed, so I switched back to the latest alpha and even though I had deleted the cached images in the meantime, all images were displayed properly, except the one from my last post (first post after upgrade to WP 2.6). Here the category image was used.

    I had a look around. Here on the forums someone suggested (for another plugin) to just delete the unserialize bit out of source code. I tried that, with the effect that now the post thumb for my last post has been generated and is showing up, but none of the other thumbs are being shown. You can see it here: https://travel-junkie.com
    I then put the unserialize bit in again, but that didn’t change anything.

    I asked for support already on the Post Thumb forum, but it seems that Alakhnor is on holiday or something like that.
    I’d really appreciate some help here, cause right now my frontpage is a mess!
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Anonymous User 96400

    (@anonymized-96400)

    ok, apparently all i needed to do after getting rid of the unserialize() stuff was save all my posts again. then the thumbs show up again.

    travel-junkie: what exact did you do to fix this?
    I am facing exactly the same error message when updated to wp2.6.

    I re-open (edit) the post and save; but the error remains.

    seems like this is the solution? it works fine so far.
    line 83: change to

    $PostData[‘img’] = $m->metaContentIMG;
    $PostData[‘med’] = $m->metaContentMED;
    $PostData[‘ytb’] = $m->metaContentYTB;

    Thanks af3. It worked like a charm for me too in version 2.6! ??

    Nice that you point out a solution – but does it still mean that I’ll have to re-save all posts? I have about 200, so I’d rather not…
    Kjetil

    kje, you can just remove the folder /thumbs/ and it will be regenerated.
    rgds

    hmm may not be so.. just be safe: dont remove, but rename the folder..

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Post Thumbplugin not working properly after update to 2.6’ is closed to new replies.