Can´t export a CPT

This topic contains 13 replies, has 3 voices, and was last updated by  Naveen Giri 1 year, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #511148

    Tania Perez
    Full Member
    Post count: 299

    Hi gyus,

    I´m getting the same error as I posted on https://wpgeodirectory.com/support/topic/cant-export-a-cpt/

    ERROR: Could not create csv file. This is usually due to inconsistent file permissions.

    I see there´s an invalid Field key in the More Info. How can I correct that?

    #511149

    Tania Perez
    Full Member
    Post count: 299
    This reply has been marked as private.
    #511152

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #511394

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    #511447

    Tania Perez
    Full Member
    Post count: 299

    Thank you Naveen,

    If I remove that field, would I loose all the information there?

    If this is the case, is there a way to change the invalid Field key?

    Thank you

    Tania

    #511521

    Alex Rollin
    Moderator
    Post count: 27815

    Add the new field, export the listings, and copy the data from the old field into the new one, then re-import.

    #512042

    Tania Perez
    Full Member
    Post count: 299

    The problem is that I can´t export it, unless I delete the field, and then all the indo would be deleted, right?

    #512089

    Alex Rollin
    Moderator
    Post count: 27815

    Try:

    Add the new field, export, move the data, import, verify, delete the old field.

    #515617

    Tania Perez
    Full Member
    Post count: 299

    Thank you Alex, but I can´t export unless I delete the field.

    Is there any way around it?

    #515738

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Tania,

    there is no field value match for that key in database.
    we have a task just to avoid such issue. https://github.com/AyeCode/geodirectory/issues/972

    So you will have to delete it.

    or if you can provide me cpanel login details in private reply. I can fix the issue directly by changing field key.
    so you will not have to do the re-import csv again.

    Thanks

    #516027

    Tania Perez
    Full Member
    Post count: 299
    This reply has been marked as private.
    #516029

    Naveen Giri
    Moderator
    Post count: 1559
    This reply has been marked as private.
    #519049

    Tania Perez
    Full Member
    Post count: 299
    This reply has been marked as private.
    #519149

    Naveen Giri
    Moderator
    Post count: 1559

    hi Tania,

    Please have a look.

    thanks

Viewing 14 posts - 1 through 14 (of 14 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket