WordPress.org

Forums

Unable to preview posts (2 posts)

  1. LouiseKonstantia
    Member
    Posted 1 year ago #

    Hello
    Ever since I updated to 3.9.1 I have been getting the following error message whenever I wish to preview a post (and also whenever I publish a post. It gets published but I get the error anyway)

    Notice: Undefined offset: 0 in /customers/3/c/7/konstantia.com/httpd.www/wp-includes/capabilities.php on line 1102 Warning: Cannot modify header information - headers already sent by (output started at /customers/3/c/7/konstantia.com/httpd.www/wp-includes/capabilities.php:1102) in /customers/3/c/7/konstantia.com/httpd.www/wp-includes/pluggable.php on line 1121

    I have deactivated all the plugins I have installed lately but nothing changes.

    I have also downloaded the zip of the 3.9.1 version and uploaded the two files mentioned above again manually.

    I can see that I am not the only one having this problem. Does anybody know why this is happening and if I can do anything about it?

    Thank you

  2. schulte
    Member
    Posted 2 months ago #

    Hi LouiseKonstantia,

    Hopefully you're still not experiencing this problem, but if you are, open up the files mentioned above and remove the extra lines at the end of those files.

    https://make.wordpress.org/support/handbook/breakfix-lessons/php-whitespace-headers-already-sent/#how-to-fix

Topic Closed

This topic has been closed to new replies.

About this Topic