Support » Fixing WordPress » PHP error

  • Hi,

    I have two PHP errors that I do not know how to fix. I can’t access the dashboard (empty code/white screen), but the redirect site at the root address is still active.

    The errors as recorded in the log are:

    [21-Jan-2014 02:04:18 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /mnt/stor09-wc1-ord1/——/——/ in /mnt/stor09-wc1-ord1/—–/—–/ on line 896


    [20-Jan-2014 23:38:54 UTC] PHP Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /mnt/stor09-wc1-ord1/—–/—–/ on line 3019

    I’ve pulled up both php files and have located the lines of error, but I have no idea what to do with it. Any help is greatly appreciated.

    Thank you.

Viewing 1 replies (of 1 total)
  • Guess it would help to see the code….

    if ( ! $location )
    return false;

    $location = wp_sanitize_redirect($location);

    if ( !$is_IIS && php_sapi_name() != ‘cgi-fcgi’ )
    status_header($status); // This causes problems on IIS and some FastCGI setups

    header(“Location: $location”, true, $status);

    return true;


    function esc_textarea( $text ) {
    $safe_text = htmlspecialchars( $text, ENT_QUOTES, get_option( ‘blog_charset’ ) );
    * Filter a string cleaned and escaped for output in a textarea element.
    * @since 3.1.0
    * @param string $safe_text The text after it has been escaped.
    * @param string $text The text prior to being escaped.
    return apply_filters( ‘esc_textarea’, $safe_text, $text );


Viewing 1 replies (of 1 total)
  • The topic ‘PHP error’ is closed to new replies.