• Resolved Flashpaper

    (@flashpaper)


    Greetings, running the PODS import for Custom Post Types UI results in the following error: Error: Could not insert post into the database

    I am running the Twenty-Ten theme with only PODS active. It does import the Custom Post Type “Research” and its taxonomies, but the posts themselves are not being created due to this error. No “Research” custom post type is available.

    Memory is at 320mb. Any ideas?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @flashpaper

    This component is quite old so I am unsure whether it’s compatible with the latest CPT UI versions.
    Can you give some more information about the error?
    From what I understand is that this component only imports the CPT settings etc. Not the actual posts.

    Cheers, Jory

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    As far as I was aware, it was compatible but I’ll give it a fresh test and see what may have changed in the latest CPT UI versions.

    Thread Starter Flashpaper

    (@flashpaper)

    Hey there, sorry for going dark. Went on vacation but now I’m back. I was trying to perform a successful migration from CPT UI to PODS ( on a test site running iThemes Builder latest version). I thought perhaps the Builder theme was causing the issue, so I switched to the latest version of the twenty-ten theme…just to try something generic. I’ve got no other plugins running on this test site. But I still encountered the error when running the CPT UI importer.

    1. Select Migrate CPT UI…Import Only
    2. Choose Post Types To Import: Research
    3. Choose Taxonomies To Import: Authors, Period, Research Tags
    4. Select Next Step
    5. Error: Could not insert post into the database.

    I’ve tried running the migration with CPT UI activated or deactivated. Doesn’t make a difference. Pods does create the “Research” custom post type, but none of the taxonomies or Research posts are migrated due to the error. I’ve tried to make this environment as vanilla as possible, but the error is so vague, I don’t know where to even start looking. Thanks for your time. ??

    Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    I don’t see any issues with the importer for that part, can you provide your CPTUI export JSON output to review?

    I did update our compatibility in Pods 2.9.9 (not yet released) to include some new options added to CPTUI since we last updated the migration component, but it was working as expected outside of that.

    Thread Starter Flashpaper

    (@flashpaper)

    Interesting. I wish I knew how to do that. Based on your response it has to be something local to my testing server. So, that’s on me. I’ve got some work to do. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Importing From CPT UI Throws Error’ is closed to new replies.