jayme2604
Forum Replies Created
-
@missveronicatv Thank you!
@missveronicatv Thanks a lot for your support, it works great now (with the default one for me)
@missveronicatv Thanks!
There is indeed a plugin who causes this issue. It’s the following plugin: https://github.com/umdevelopera/um-account-tabs.
If I disable this plugin, then I’m able to delete the account…
Well, once I change the date format as per your earlier suggestion, the date format is then correct on the profile form. However, this adjustment doesn’t work for the registration form. I think this is has nothing to do with my host. Does it work for you on both forms?
What can I do to fix this temporarily for the registration form?
Strange that it works for you, I have tested it, but changing that value doesn’t change anything. To me it’s still showing the “-” sign in the date picker field instead of the “/”. Also, if I would change it from “Y/m/d” to “d/m/Y” which I want to achieve, then also nothing happens.
These fields are on the registration form, maybe there is a difference in registration and profile form?
Update: I can confirm that the change works only on the profile form. So, the issue is only on the registration form.
https://ibb.co/Syf5Wyj
https://ibb.co/jDSxdcn
https://ibb.co/1d7Pfxw
https://ibb.co/fr7SNbN
https://ibb.co/2Y0n1V1But it doesn’t work if I change it to ‘d/m/Y’ in that code. It’s still showing ‘Y/m/d’ on the website. Does that mean it has to be changed as well somewhere else in the code?
Yes, the error is gone now. Thanks! 🙂
Changing the format to “d/m/Y” instead of “Y/m/d” doesn’t work. Is there something else that has to be changed?
$value = date( 'd/m/Y', $unixtimestamp );A follow up on this. When I update an user from the admin console (wp-admin) and I click on “Update profile”, then the following error appears:
Fatal error: Uncaught Error: Call to undefined function custom_profile_is_updated_email() in /home/public/sites/xxx.nl/wp-content/plugins/um-admin-user-profile-update-email-main/um-admin-user-profile-update-email.php:105 Stack trace: #0 /home/public/sites/xxx.nl/wp-includes/class-wp-hook.php(308): UM_Admin_Email_Profile_Update->custom_profile_is_updated_email_backend() #1 /home/public/sites/xxx.nl/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #2 /home/public/sites/xxx.nl/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/public/sites/xxx.nl/wp-includes/user.php(2461): do_action() #4 /home/public/sites/xxx.nl/wp-includes/user.php(2582): wp_insert_user() #5 /home/public/sites/xxx.nl/wp-admin/includes/user.php(233): wp_update_user() #6 /home/public/sites/xxx.nl/wp-admin/user-edit.php(170): edit_user() #7 /home/public/sites/xxx.nl/wp-admin/profile.php(18): require_once('...') #8 {main} thrown in /home/public/sites/xxx.nl/wp-content/plugins/um-admin-user-profile-update-email-main/um-admin-user-profile-update-email.php on line 105There is no need to sent an email when an admin updates the user via the admin console. Could I add this in the code somewhere?
Thanks again.
Thanks a lot! Is it possible to edit a file temporarily until Ultimate Member is picking it up?
Right, the custom date format is currently set to “d M Y”. If I change it to view only, the field will be disabled, so I can’t select anything. Where can I find that code from “edit_field”?
It still goes like “YYYY MM dd”. However, if I check the HTML element, it says at “data-format” the format “d mmm yyyy”. The “data-date_max” and “data-date_min” are based on “yyyy mm dd”. See image. Something goes wrong eheh…
I have created another date field with another meta_key, but still the same behavior.