Thanks for you quick reply! I am afraid I cannot share url because it's an internal site, anything specific I can look for what could help? Some users can still comment, others can't. Any idea's what it could be?
Thanks for your quick action
Hey @asti, thanks for your reply.
We tried to add this line of code in theme>function: add_action("user_register", function ($user_id) { $user = get_userdata($user_id); if (empty($user->data->user_email)) { $args = array( "ID" => $user->id, "user_email" => uniqid() . "@example.com", ); wp_update_user( $args ); }});
As suggested here: https://wpdiscuz.com/community/?wpfs=field%20value%20invalid However, our users all have an email address and it still gives the same error message. What can we edit in the code? Is the email field the only issue here?