You might be able to narrow it down using output buffering on different hooks… eg.
add_action('plugins_loaded','start_buffer');
function start_buffer() {ob_start();}
add_action('wp_loaded','end_buffer');
function end_buffer(); {ob_end_clean();}
ie. this is a broad test but if the error goes away, the output is happening between those two actions, if not try hooking in earlier (unlikely but could be later too) until it does using the Action Reference as a rough guide.
Related Posts:
- I can’t log into my website , it says “Error: Cookies are blocked due to unexpected output”
- Using a nonce in a Custom Login Form
- Why is my cookie not unsetting upon logout? [closed]
- Help with accessing wp-admin page and resolving error messages
- Can’t log in to WordPress wp-admin after adding code to functions.php
- Fatal error login WordPress [duplicate]
- Login to wordpress by clicking a link and specifying usernaname and password in url
- Getting error when using wp_insert_post()
- Error: options page not found
- Insert custom PHP head above in WP pages
- Headers already sent in Pluggable.php / homepage and wp-login error
- Which is the correct way to conditionally enqueue a CSS file?
- “Undefined index” error when saving empty array with checkboxes
- Log in / Log Out Custom Button
- Should `wp_login` be used since it’s deprecated?
- How to redirect users based on role and content of redirect_to?
- Change CSS based on is_user_logged_in
- How to display login form anywhere, when user isn’t logged in, without redirecting?
- How can I open up my administrative panel to everyone?
- Preg_Match(): compilation failed unknown property name
- My php code is not being executed
- Warning: Illegal string offset on theme options page [closed]
- customize wordpress database error page
- PHP if statement works in template files, but not header
- How can I add a new row in a separate database when someone registers via WordPress?
- $_SESSION variable not saving on page refresh or new page
- Errors after upgrading PHP to 7.4 WordPress
- PHP-warning in post-template.php and no loading content on pages
- How to end a while loop when used in a fetch assoc function [closed]
- After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it’s original source
- Parse error: syntax error, unexpected ‘}’ [closed]
- One account with multiple logins
- Array to string conversion error in PHP 7.2 when returning user role as class
- Lost in trying to create user database system
- javascript variable to wordpress php variable
- PHP E_WARNING being shown despite php.ini [closed]
- What’s wrong with this piece of code? [closed]
- Shortcode to log user into current URL
- How to set cookies
- PHP getting error when trying to access WP-Admin Dashboard
- I installed WordPress locally now how do I login?
- If user is logged in not working
- How to make a cookie be on the whole site instead of being on a specific page/
- Change homepage content if user is logged in – BuddyPress
- can’t get errors
- Angular not defined [closed]
- Cannot load media and I get “PHP Warning: Invalid argument supplied for foreach(“
- Set cookie for visitor
- Authentication from sub-folder non-wp cookie WordPress
- Show login greeting above sub-menu links?
- setcookies and header send
- Fatal Error wp-settings.php on line 119
- How can I fix this code [duplicate]
- is_user_logged_in returning nothing on custom page
- Trying to display terms from custom taxonomy within function
- Blog suddenly shows Archive instead of index page
- Too many errors on log
- Programmatically revert to backup .htaccess a possibility?
- Prevent post from being published and show error
- Triggering a timewall after X days
- Illegal string offset in PHP function in via Theme Customizer
- Set cookie parameters on wp site – PHP not working?
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- Check if user had autologin & if so, logout
- White screen after migrating site, but wp-admin works fine. Disabling all plugins, applying default theme and enabling debug mode does nothing
- I am having errors with checkout on wordpress
- Admin Panel 404 Error after login
- PHP warning – Use of undefined constant ‘FORCE_SSL_LOGIN’ ‘FORCE_SSL_ADMIN’ on wp-config.php
- How to block specific user id in custom login form?
- Log out without confirmation request (nonce)
- Intermittent 503 Service Unavailable Error
- PHP Warning: mysqli_query(): after updating my websites php from 5.6 to 7.2
- IF statement not working – Any suggestions?
- Having trouble creating two shortcodes, one for logged in user and one for visitors
- Call WP Rest-Api to GET /users/me returned NOTHING in console
- WordPress Bad Request Error 400
- Trying to get property ‘ID’ and ‘post_author’ of non-object error
- Restrict wordpress access to logged users only
- Infinite loop when logging out using custom login form
- Menu not updating for logged in users after redirect
- HELP: cannot log into wordpress. PHP error
- how to use auth_redirect() redirect visitor to login page if they are not login when they click account and order page?
- Issues adding Recaptcha v3 to WordPress Registration
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) on single.php
- Display specific page if user signed in
- The link you followed has expired. Please try again
- PHP error on local server install
- Change Login or Logout text based on status
- WordPress files break if I edit them, but adding a closing PHP tag fixes it
- Refresh page after login with litespeed cache
- Site title not showing. Please help me
- Redirect after login depending on the URL
- PHP Error in WordPress Theme
- Need help with AJAX login to call php in functions.php to handle redirects based on user cap (role)
- Redirecting the lost password page request when using a custon login page
- WordPress database error only while loading page for 1st time
- Getting an empty space in up sell items
- How do I send a POST request with params with WordPress REST API
- This occurs when I open admin or front on localhost