Posterous Importer
Posterous Importer fails due to SimpleXMLElement serialization error for ID meta (3 posts)

  1. dflydev
    Posted 4 years ago #

    Reposting this as a "not working" post in the hopes it might trigger someone to notice it. I would be happy to apply this patch myself if I could get access. So far I am having to remember to apply my own patch by hand for the blogs that I am migrating from Posterous back to WordPress.

    I encountered an error trying to import more than one item from Posterous.

    #3 /home/altern8/workspaces/dflydev-website-wp/wp-content/plugins/posterous-importer/posterous.php(215): add_post_meta(15, 'posterous_9ba0b...', Object(SimpleXMLElement), true)

    I fixed this by changing the following:

    add_post_meta( $post_id, 'posterous_' . $this->bid . '_post_id', $entry->id, true );


    add_post_meta( $post_id, 'posterous_' . $this->bid . '_post_id', (string)$entry->id, true );

  2. Jordi
    Posted 4 years ago #

    Thanks dflydev!

    It runs perfectly!

  3. rishifter
    Posted 4 years ago #

    Spot on! it worked! Appreciate the help dflydev :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posterous Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic