• 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/——/——/www.1234567.com/web/content/wp-content/plugins/th0ths-quotes/th0ths-quotes-widget.php:1) in /mnt/stor09-wc1-ord1/—–/—–/www.1234567.com/web/content/wp-includes/pluggable.php on line 896

    AND

    [20-Jan-2014 23:38:54 UTC] PHP Warning: htmlspecialchars() [function.htmlspecialchars]: Invalid multibyte sequence in argument in /mnt/stor09-wc1-ord1/—–/—–/www.1234567.com/web/content/wp-includes/formatting.php 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.

    https://www.thespog.com

Viewing 1 replies (of 1 total)
  • Thread Starter sponauglebl

    (@sponauglebl)

    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;
    }
    endif;

    AND

    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 );
    }

    Respectively.

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