question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate entry found. Multiple values of '' found for .

See original GitHub issue

Issue Summary

I Exported my Data from Wordpress, after that i tried to import them to Ghost.

This is the result on the client:

errorpanel

This is the result on the Server

ERROR: Duplicate entry found. Multiple values of '' found for . 
 
 Error
    at Error.DataImportError (/home/cristian/proyectos/my_cool_project/node_modules/ghost/core/server/errors/data-import-error.js:6:18)
    at cleanError (/home/cristian/proyectos/my_cool_project/node_modules/ghost/core/server/data/import/index.js:47:12)
    at /home/cristian/proyectos/my_cool_project/node_modules/ghost/core/server/data/import/index.js:64:34
    at arrayEach (/home/cristian/proyectos/my_cool_project/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/home/cristian/proyectos/my_cool_project/node_modules/lodash/lodash.js:9359:14)
    at handleErrors (/home/cristian/proyectos/my_cool_project/node_modules/ghost/core/server/data/import/index.js:57:7)
    at /home/cristian/proyectos/my_cool_project/node_modules/ghost/core/server/data/import/index.js:203:16
    at tryCatcher (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/promise.js:510:31)
    at Promise._settlePromise (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/promise.js:567:18)
    at Promise._settlePromise0 (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/promise.js:687:18)
    at Async._drainQueue (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/home/cristian/proyectos/my_cool_project/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)
    at processImmediate [as _immediateCallback] (timers.js:594:5) 

Steps to Reproduce

  1. Using Wordpress plugin to export
  2. Import that file to Ghost (Labs -> Select File -> Import)

Technical details:

  • Ghost Version: 0.11.7
  • Node Version: 6.9.5
  • Browser/OS: Chrome
  • Database: MySQL

*EDIT: I tried to parse the file… to find some issues maybe on ID’s, stuff like that. Nothing wrong.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kirrg001commented, Apr 18, 2017

@cristiandley has shared his Wordpress export with me. The errors were caused by duplicate post slugs. I have added this issue as subtask to #5422. If one slug fails to insert, the whole import get’s rolled back.

0reactions
kirrg001commented, Jul 14, 2017

I am going to close this issue, because we’ve overhauled the importer in Ghost 1.0. If you experience this problem, please migrate to 1.0 👍 😬

Read more comments on GitHub >

github_iconTop Results From Across the Web

MySQL duplicate entry error even though there is no duplicate ...
I am trying to insert a row with a new combination of values in these two columns, but value in column one is...
Read more >
How to Find Duplicate Values in a SQL Table - Chartio
Learn how to check a database table for duplicate values using a simple query. ... This tutorial will teach you how to find...
Read more >
mysql - 1062 Duplicate entry but there are no duplicates?
It isn't saying that there is a duplicate entry in the table already, it is saying that there is already one entry in...
Read more >
How to Find Duplicate Values in SQL - LearnSQL.com
Duplicate records waste time, space, and money. Learn how to find and fix duplicate values using SQL's GROUP BY and HAVING clauses.
Read more >
How To Deal with Duplicate Entries Using SQL
It means that no duplicates were found in your table, based on the criteria you specified. If you get an output, you must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found