• nosh

    (@nosh)


    Hi.
    Importing csv file,error occurred.
    Some post can upload,but some post cannot.
    All post is similar text.Of course I set post type (post).

    ex;
    Processing “postname” done.
    Processing “postname” done.
    The post id xxx is exists, but post types does not match.
    Processing “postname” done.
    Processing “postname” done.
    Processing “postname” done.
    The post id xxx is exists, but post types does not match.
    .
    .
    .

    Then,I try to access error-id post.
    example.com/xxx
    redirect to
    example.com/?attachment_id=xxx
    That page is private and exists (csvfilename).csv.txt

    Thx.

    https://wordpress.org/plugins/really-simple-csv-importer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takuro Hishikawa

    (@hissy)

    Do you want to insert posts with thumbnail image?

    Thread Starter nosh

    (@nosh)

    No.
    I try to import “post_id,post_category,post_status,post_type,post_title,and some Custom fields(text)”

    But this plugin may conflict with Plugin:EWWW Image Optimizer(EIO).
    Error file generated in media library,that related EIO plugin.

    Finally,I disabled EIO,and changed “post_id”.
    I could import csv file.
    Although error-id page can not be used.

    Plugin Author Takuro Hishikawa

    (@hissy)

    Hmm, I don’t know well about EIO, but the importer will overwrite post data when provided post_id exists in your database and its post type is same as csv data.

    Hi, I’m having this same problem, and I don’t have the plugin EIO.

    We’re using WordPress to support press releases, and so we have to import old press releases before we can start using WordPress to publish new ones. I have a script that takes the old press releases and convert them into csv files. They are chunked up into csv files of 100 rows per file (not counting the header row), all of post_type “post”.

    I’m generating the post_id sequentially in my converter, and for some reason I’m getting this error in many of the files, and the rows that it occurs are random. However on some of the files when I import them again some rows that had the error become successful.

    Just for clarity, here’s an example of the output in the importer:

    4. The post id 5303 is exists, but post types does not match.

    Plugin Author Takuro Hishikawa

    (@hissy)

    I’ve released version 0.6 and improved error message, so please try again. Thanks you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error:The post id xxx is exists, but post types does not match.’ is closed to new replies.