[Resolved] – It turns out the issue was a conflict with the Yoast SEO plugin. Yoast was re-sending the headers after the user was registered. So the errors were re-checked and the username_exists / email_exists showed up as duplicates. I was able to get around this by disabling Yoast just for the registration page with a code hack in the functions file.
If you run into this issue, here’s the code:
add_action('template_redirect','remove_wpseo');
function remove_wpseo(){
if (is_page(5526)) {
global $wpseo_front;
if(defined($wpseo_front)){
remove_action('wp_head',array($wpseo_front,'head'),1);
}
else {
$wp_thing = WPSEO_Frontend::get_instance();
remove_action('wp_head',array($wp_thing,'head'),1);
}
}
}
Related Posts:
- Authenticating to WordPress, using my own authentication two-factor system
- Integrating WordPress to my website, while keeping my own authentication system
- Why when I instantiate wp_error in a validation method my user registration method stops working?
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- PHP can I add line numbers to file_get_contents()
- Custom user login page by creating a plugin
- filter default query to show just selected level of child pages in wordpress
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- user_profile_update_errors hook not executing
- How to obtain the current website URL in my theme?
- What exactly do this function declared into functions.php file of a WP theme?
- Hook called before text widget save
- How can I update the price when someone enters postcode or zip code in woocommerce checkout page?
- How to identify which php file a plugin is using on page load?
- Autoloading Classes in Plugins
- WP Custom tables query
- Capture the Selected Radio Button Value between two files in wordpress theme
- Why have on every line
- WordPress and event-driven programming – what is it about?
- WordPress URL Rewrite not working
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- Limit the Excerpt field in WP-Admin in words
- wordpress separate registration for different roles
- Saving metabox repeatable fields
- do not show web page section when using advanced custom fields pro
- How to get all existing post types
- New Plugin Review
- Create custom blocks for bootstrap
- Query String being Removed Creating a Pagination Issue within a Custom Plugin
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- What’s the best user registration library to integrate WordPress?
- Customizer: Output default value in Customizer CSS
- Taxonomy linked to pages
- WordPress Scheduled Event Request Blocking
- Converting HTML Template to WordPress Theme
- Can I install/embed WordPress on a ‘single page’?
- Saving an array of dynamic repeater data as post_meta
- WordPress wpform plugin submit and get multiple checked value from checkbox [closed]
- Improve page speed loading using CDN and async or defer attribute
- Script to browser problem PHP
- Store a default value for a transient on plugin activation
- wp query foreach deleting record returning only first or last item
- Using $wpdb (WPDB class) ‘replace’ with multiple WHERE criteria problem
- Custom posts in different columns style
- WordPress Custom field Colors
- How to use html inside a functions.php code?
- WordPress Environment: Dynamic Page using shortcode – how to change the page name for sharing
- Extend Woocommerce Widget Class – WC_Widget_Product_Categories
- plugin add action hook is not working :
- zip unzip attachments in wordpress
- customize wordpress database error page
- How do you create two separate Register pages?
- how to Update 15k products on plugin activation with meta_option
- Ajax search shows all results when user empties input?
- List post by title length
- Hooks for post saving make a post-new.php to load latest post’s data
- How do i wrap woocomerce attribute in list?
- Calling a save function from a “submit” button
- Custom User Registration script only allowing usernames with 16 characters
- save metabox with new values _wp_page_template
- pagination broken – clicking next displays “page not found”
- PHP: How to access db the right way in plugin?
- select a single val though a table in wordpress
- Create condition for Author bio Social Links
- WordPress – Get Posts with Category data
- How to use wp_send_json() and output the value with ajax?
- Call to “admin_notices” hook from a static method
- How to Create custom block for displaying information in content section which act like shortcode
- How to detect and handle the time difference between server and user in WordPress?
- How to setup the Email piping in WordPress plugin?
- Getting an error when my plugin is updated, but the files update correctly
- Creating a POP Alert
- If Statement is Ignored?
- WordPress Plugin Development – get_option error
- how to add new PHP page in WordPress plugin
- How can I get my WordPress plugin to receive data and relay it in an ajax/php request to a remote server that requires authentication?
- Constant expression contains invalid operations plugin class properties visibility
- Gutenberg blocks shortcodes compatibility
- Help hooking into user_register
- Input field duplicates on form submit by jQuery
- Creating a custom register form
- How to associate dynamic PHP page for chosen WordPress tag?
- Only display notification on single post
- Unable to pass variable to database
- Gravity Forms Marketo Plugin Feed [closed]
- Add custom filter to register data in array
- why is this content-template not showing any of my blog-entries?
- How to get the count for each taxonomy term
- Save Option on Database
- MySQL update text field with ‘
- how can I make content from a plugin hidden when user is logged in? [duplicate]
- display php code in header using wp_head()
- WordPress isn’t sending welcome email with the password reset
- Add a custom user meta data on registration based on user email
- wp_mail – send emails after 24 hours from users registration
- How to change product SKU’s in bulk with a plugin
- JQuery UI Autocomplete showing as bullets
- Partial refresh in WordPress live preview
- “Joined in” or “Member since” displayed on single store page and then using shortcode to add
- Custom plugin with dynamic child pages listing database records