Support

Home Forums Event Espresso Premium "No Primary Key" error when trying to import

"No Primary Key" error when trying to import

Posted: April 7, 2014 at 1:36 am


Travel Greenest

April 7, 2014 at 1:36 am

I am having my site reworked on another server, and I exported my events from the original site into a csv file. When I try to import that csv into the reworked version, I get a page with this error message:

“There is no Primary Key defined on model EEM_Term_Relationship,” following by a string of characters and numbers with “GETPRIKEYFIE” in it.

What does this mean, and what’s the fix?


Dean

April 7, 2014 at 4:09 am

Hi,

Is this an EE4 export to EE4 import? Or EE3 to EE4?


Travel Greenest

April 7, 2014 at 9:25 am

EE4 to EE4.


Josh

  • Support Staff

April 8, 2014 at 10:17 am

Hi Travel,

In cases where you want to move data from one server to another I’d recommend using a plugin like WP Migrate DB. This will copy over all the database tables and make sure the paths are correctly migrated from the other server.

The support post ‘"No Primary Key" error when trying to import’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso