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.
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.
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