Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter barbutti47

    (@barbutti47)

    Hey Jon,

    I was able to track down the problem, and it’s not exactly the importer’s fault. The file attachments on my XML had empty <wp:post_id></wp:post_id>s, and this is a problem with the new version of the importer (wasn’t before with the older versions).

    Line 526 of the importer has this code that’s causing the problem with my XML:

    if ( isset( $this->processed_posts[$post['post_id']] ) )

    Maybe the importer could check if the post_id isn’t empty before seeing if it’s been processed before?

    I understand this can bring problems, and that my XML should probably have the post ids all along. But who knows… =)

    Thank you for the help!

    Thread Starter barbutti47

    (@barbutti47)

    I’m sorry, Jon but this doesn’t seem to be fixed.
    After a few tests here, it seems to be downloading only one attachment file from the XML, no matter how many are declared in it. It’s not giving out any errors either, which I guess makes things even more confusing.

    Any ideas?

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