Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • What is wrong here?

    // We only want to use this method if the from page is our plugin
    if ($referer != $_POST[‘_wp_http_referer’])
    return;
    }

    and here

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

    Hello
    I am very new to this language and I made some changes that led to this error

    Warning: Undefined array key "_wp_http_referer" in /home/naturis/public_html/blog/wp-content/plugins/seo-facebook-comments/classes/PlulzAdminClass.php on line 82
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/naturis/public_html/blog/wp-content/plugins/seo-facebook-comments/classes/PlulzAdminClass.php:82) in /home/naturis/public_html/blog/wp-includes/pluggable.php on line 1416
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/naturis/public_html/blog/wp-content/plugins/seo-facebook-comments/classes/PlulzAdminClass.php:82) in /home/naturis/public_html/blog/wp-includes/pluggable.php on line 1419

    Can u help me?

Viewing 2 replies - 1 through 2 (of 2 total)