intermittent CSV import failure caused custom text field

This topic contains 5 replies, has 3 voices, and was last updated by  Stiofan O’Connor 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #506864

    Daniel
    Expired Member
    Post count: 19

    Does the “text” custom field have a character limit? I have been dealing with random csv gd_place import failures that I eventually figured out (i think) were due to importing 255 character text fields into a “text” custom field. It seemed to be accompanied by the following error: “Notice: Trying to get property of non-object in /home/allthepr/public_html/wp-content/plugins/geodirectory/includes/custom-fields/functions.php on line 174.”

    I stopped having the problems when I stopped trying to include that field in my imports. How to fix this? Use text area instead?

    I’ll include specific data examples in private post to follow.

    Thanks, d

    #506865

    Daniel
    Expired Member
    Post count: 19
    This reply has been marked as private.
    #506866

    Daniel
    Expired Member
    Post count: 19
    This reply has been marked as private.
    #506873

    Guust
    Moderator
    Post count: 29970

    I’ll get the developers to confirm, but it is because a text field is limited, and like you say, you will need a textarea field.

    Thanks

    #506902

    Daniel
    Expired Member
    Post count: 19

    Thanks for the quick confirmation! Aren’t you guys all in Europe? that would be pretty late night friday support work if so!

    #506932

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Daniel,

    Our team is one continent away from global coverage 🙂

    Most text fields are limited to 255, this is for a few reasons, if you need longer then you can either use a textarea or you could alter the DB table manually. However i would highly recommend using a textarea as the best solution in most cases.

    Thanks,

    Stiofan

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

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

Open Support Ticket