Support » Fixing WordPress » headers already sent on any page redirects

  • rmsgreig

    (@rmsgreig)


    We have inherited a wordpress website from a different company, and after transfer are receiving the following error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/4b/5/52834f6c40/public_html/wp-content/plugins/pureblue-cla-integration/public/class-pureblue-cla-integration-public.php:1) in /home/sites/4b/5/52834f6c40/public_html/wp-includes/pluggable.php on line 1251
    Warning: Cannot modify header information – headers already sent by (output started at /home/sites/4b/5/52834f6c40/public_html/wp-content/plugins/pureblue-cla-integration/public/class-pureblue-cla-integration-public.php:1) in /home/sites/4b/5/52834f6c40/public_html/wp-includes/pluggable.php on line 1254

    the lines it is pointing to in this file are:

    	$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
    		if ( is_string( $x_redirect_by ) ) {
    			header( "X-Redirect-By: $x_redirect_by" );
    		}
    
    		header( "Location: $location", true, $status );

    the issue also happens at the admin login page: http://carreraslathane-co-uk.stackstaging.com/wp-admin
    Can anyone tell me what I should be looking for within the class file mentioned in the error that would be causing this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Do not edit core files; that’s where the error is detected, not its cause.

    It seems you have a problem with the plugin ‘pureblue-cla-integration’. Unfortunately, I can’t find any info about it. Try disabling it by renaming its directory to something like pureblue-cla-integration.xxx That will let you login.

    You can then examine that plugin for errors.

Viewing 1 replies (of 1 total)
  • The topic ‘headers already sent on any page redirects’ is closed to new replies.