[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
- 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
- simple wordpress ajax plugin not working when not logged in
- 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
- Is it save to use eval for a jQuery callback method coming from the database?
- Add data-id attribute to child page links
- What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?
- Display Youtube Time Automate from Key
- Scheduling an event inside plugin class is not working
- How to Change CSS Colors from Custom Plugin Settings Page
- Passing the name of selected color from the custom component to `render_callback`
- Basic wpdb update question
- wordpress frontend editor to add extra css to website
- WordPress widget and customize.php not working in Ubuntu16.04 VPS
- How can I search all plugins for composer’s vendor/autoload.php?
- Action Hook Inside WordPress Plugin Shortcode
- After disabling WPML multi currency, the currency is still handled by the WPML
- PHP Helper Class to create shortcodes
- Is it possible to add a custom page to a free WordPress site? [closed]
- How to Fix an Archive.php That Displays All Posts?
- Add a custom WooCommerce settings tab with sections
- PHP using external anonymous function inside class
- WP-Bakery – Add custom colors to buttons with template colors
- Add Pre-Defined Value to Click Counter in WordPress
- retrieve “Link Color” value
- Drop down question
- code that I can run, or a plug in to show what sql tables something pulls information from
- Automatic email message after manual user approval
- custom mailchimp form using HTTP API
- How to override theme’s public static function inside of a trait?
- pass datetime using wp_localize_script to frontend from settings page
- add custom metabox to media library custom widget
- Display attached images of a page or post that are insetred using gallery
- overwrite wordpress gallery with custom gallery shortcode
- Enqueue sripts and styles only if function is called
- Add widget area from visual editor
- Issues adding Recaptcha v3 to WordPress Registration
- Search only for posts with specific metadata?
- not able to access $_POST on backend profile update
- WordPress Query Crashes Browser
- Plugin Modification Change Functionality For Logged User Only
- Is there a way to have chunks of a page’s content expire?
- Where can I find the declaration of `$_wp_theme_features`?
- Static home page ignored
- How do I routinely extract the thumbnail of the most recent post?
- Showing the project type in HREF
- INCOMING: Wall of code for form and $_POST, not updating custom field’s value
- Display tab title as ‘blog tagline | blog title’
- My customizer’s setting doesn’t set to the default and needed to click the control’s “Default” button before it’ll be set
- Showing custom field contents without listing description
- Check if values exists DB
- WP multisite network plugin fails to see classes loaded with spl autoload
- MySQL Engine vs. Charset
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- What is this mark for “? function()” [closed]
- What can I do to customize a widget provided with this plugin? from where have I to start?
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- Woocommerce Convert existing order to the cart
- Redirect posts to post editor page based on query string