WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Cannot add/save table row error (8 posts)

  1. halluzineyt
    Member
    Posted 1 year ago #

    Cant save my profile i added gender and avatar fields in my profile im getting this when i try to save.

    Cannot add/save table row; SQL: INSERT INTOwp_pods_user(id,gender,avatar) VALUES ( 1, 'Male', '' ) ON DUPLICATE KEY UPDATEid= VALUES(id),gender= VALUES(gender),avatar= VALUES(avatar); Response: Unknown column 'avatar' in 'field list'

    http://wordpress.org/extend/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    What version of Pods are you using?

    You could try Pods 2.3 beta at http://pods.io/latest/

    Did you extend Users as a table-based Pod?

  3. halluzineyt
    Member
    Posted 1 year ago #

    Yes as tables im using the latest.

  4. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    I'm unable to reproduce on my end. Can you by chance enable the 'Migrate Packages' component in Pods and then export your Users pod? Then pastebin your package contents so I can try and import on my side and determine what might be going on here?

  5. halluzineyt
    Member
    Posted 1 year ago #

  6. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm, not happening for me with that either.

    Try this, go to http://pods.io/latest/ and get the very latest release again, upload over your current Pods installation. Then go to your Users pod edit screen, just hit 'Save Pod' and then try again in your profile.

  7. halluzineyt
    Member
    Posted 1 year ago #

    All works perfectly , but just one problem the avatar upload pop up doesnt work on front end using theme my profile plugin.

  8. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Pods does not integrate with that plugin, we're open to integration where possible as we're able to find time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags