I have found the solution
do_action('edit_user_profile_update', $current_user->ID);
was the problem. After I commented it out the update went fine.
do_action
is a plugin hook and expected way more that the from gave:
explanation
Related Posts:
- “operation successful” message
- Trying to display user meta by “name” – not by “ID”
- How to fix ‘Notice: Undefined index:’ in PHP form action
- How to correctly submit a search form and display the result in an independent page
- Genesis – Customize search form
- Integrating WordPress to my website, while keeping my own authentication system
- Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]
- What is the most efficient way to search users by their display name?
- Network installation giving errors when viewing or adding a user
- Showing user ID on user main page from screen options
- Getting the Current User
- On update to 3.04 site started recording accents as “á” and “á”, what to do?
- Authenticating to WordPress, using my own authentication two-factor system
- How can I default to all WordPress roles when parameter is not included in shortcode?
- Implement a multi-value input field where the number of entries is not limited
- there’s a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?
- Delete option value from array using update_option()
- How do I let users upload files to a chosen location?
- woocommerce registration form with klaviyo(don’t work with current user)
- How to get a list of all possible values of a specific user meta key?
- Custom Form Processing Issue
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- How to store data from multiple forms using ajax and php
- How to use $query->set with post__in?
- Ajax loaded form replaces form action with Ajax url
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- Custom search results page not working with empty search
- Modify HTML structure of fields in woocommerce checkout form
- user_profile_update_errors hook not executing
- Input data from email form not going to JSON file
- wordpress archive a user
- Search Query: how to construct a search string from two select elements?
- Call to undefined function get_userdata() in plugin
- Databases – Submitting data from inputs to database [closed]
- db converts decimal number wrong
- WordPress admin-ajax.php 400 bad request
- Change CSS based on is_user_logged_in
- Ajax contact form return 0
- How to show a users bio on a page
- Search WordPress using static html page
- How to put a form with php code into a variable or shortcode?
- Shortcode to embed Edit Account form not working
- Capture form data in one function and use it in another function (same file)
- Submitting a form, using Ajax, to run a SQL Select query based on user input from the form
- form built dynamically with php, not submitting
- php return username of currently viewed author profile
- WPDB secure custom form
- Adding attribute to the post.php form tag in wp-admin
- How to make blog post entries appear as input form instead of just text?
- Front end file upload returning wrong attachment url
- How to list users like an archive page 10 users on page and have navigations
- WordPressUser Submission Form
- Redirect to current user page upon link click
- Page Options Saving But Not Updating In Backend
- Use of antispambot with $curauth->email
- Cascading dropdown select search based on Parent Page & Child Page
- Generate a QR code when creating a new WordPress user
- Change wordpress’ database data using ajax – how to get current user id?
- Sort column in Users admin Tab
- Admin Panel 404 Error after login
- How to block specific user id in custom login form?
- Get current user id in function php
- PHP multiple forms, same page, isset($_POST[]) not working?
- how can I call a function when time expire
- “Class Not Found” in HTML Form Target PHP File that contains the class
- Store user form submitted information in post type
- Implement jQuery Smart wizard
- Store data from JavaScript object to custom table in user account
- How to change the value of a variable using input field?
- Javascript / PHP – closing the loop
- How do I track which user clicked my button?
- How do I stop my form from adding code to current page URL instead of re-directing. Been stuck for days
- Updating the database after parsing CSV document
- Creating wordpress user registration form
- wordpress more than one ajax request at the same time issue
- If input field has value Require another field – PHP
- Adding users to another blog
- Changing WordPress author name in database
- Loop 1 user randomly
- Submitting my form to the database and then redirecting to payment site
- Passing link parameter values to form
- Processing forms with php to wordpress database
- Styling admin page rows in order of importance (checkboxes)
- How to ‘remember’ a site member’s last visited page?
- How to connect database table to each registered wordpress user.
- Display a list of users with avatar filterable with alphabets
- Force string into signup form
- Data inserted in database, but ajax calls error function
- upload images on front by user using form
- ajax form function error
- Parse error: syntax error, unexpected ‘}’ in C:\wamp64\www\Proiect\aplicatie\user_check.php on line 18 [closed]
- Check if username doesn’t exists
- Use HTML Form Data in PHP Function – WordPress Admin Page
- WP query with variables gives no result for specific user
- Contact form with dynamic dropdown and filter
- Import users and custom user meta from csv
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- Getting invalid user ID error when creating a new user with wp_insert_user
- Custom form that stores data in mysql database
- Putting form result in my database