User met not saving

Support Meta Box AIO User met not savingResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38926
    YasmineYasmine
    Participant

    Hi, I have a weird issue..

    My user meta fields which allow selection of different users are not saving correctly.

    So it saves, because the user is there. But you need to save a second time to make it work with the value. Until it is saved a second time, it does not output, nor show in the meta from the WP backend. It shows as null.

    Do you have any idea what this issue is, and even better - how to fix it?

    I disabled all my custom code to ensure was not that.

    Many thanks,
    Yasmine

    #38938
    PeterPeter
    Moderator

    Hello,

    Can you please check the value in the database if the field saved the correct value? If not, please share the PHP code that registers the user meta field, I will try to reproduce the issue on my demo site.

    #38939
    YasmineYasmine
    Participant

    Hi Peter, thank you for your reply. Actually - it was my fault again. I was using WS Forms, and it wasn't saving the value in the database. But it did when I tried through metabox frontend. They now found that your admin save compared to your rwmb_set_meta function is different, and so they are updating their integration. Thanks anyway

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.