• Resolved allanlud

    (@allanlud)


    Hi,

    I have seen this problem on a lot of posts and the main reason seems to be white space. The posts I have seen usually include some plugin file or header/index.php file.

    So this is the full story – I have moved a site to a new server, hosting company. The blog seemed to be working fine after the move, I updated to the latest version of WordPress, 3.8.1 I believe and updated plugins and themes (there are only 3 plugins in total on the site).

    The problem occurs for me when I update/publish a post.

    This is the full error I am getting (after I have changed ‘WP_DEBUG’ to ‘true’):

    Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( ‘automatic-feed-links’ ) instead. in /usr/local/pem/vhosts/236304/webspace/httpdocs/xxx.ie/blog/wp-includes/functions.php on line 2908

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/236304/webspace/httpdocs/xxx.ie/blog/wp-includes/functions.php:2908) in /usr/local/pem/vhosts/236304/webspace/httpdocs/xxx.ie/blog/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/236304/webspace/httpdocs/xxx.ie/blog/wp-includes/functions.php:2908) in /usr/local/pem/vhosts/236304/webspace/httpdocs/xxx.ie/blog/wp-includes/pluggable.php on line 896

    I am not sure what to do now, I have looked in those files and don’t see anything out of the ordinary. I was thinking of replacing the wp-admin and wp-includes folders with the latest version of WordPress manually to see if that helps.

    Any suggestions?

Viewing 15 replies - 1 through 15 (of 26 total)
  • what message do you get with wpdebug = off?

    Looks like you are using an outdated theme. What happens if you use the default 2014 theme?

    Thread Starter allanlud

    (@allanlud)

    @dimitris33 There are no messages when WP DEBUG is false

    @esmi I haven’t tried that yet (thought I had tried everything before I posted here), will let you know how I get on with that.

    @alla

    then what is the problem?

    @dimitris33: Uh? What did you expect? If wp_debug is turned off, there’ll be no errors in the log file.

    sorry, i am trying to understand if @allan has a problem with this theme/install.

    If it works with wp_debug=off then i think he’s alright.

    also i agree that the message you get is code related, the theme author has to update the theme’s code.

    If it works with wp_debug=off then i think he’s alright.

    No. It just means that errors aren’t being logged by WordPress. They’ll still be showing up in the server’s error logs

    The problem occurs for me when I update/publish a post.

    confused, is there something on the site that is preventing you (allan) to work? or are you worried about your logs?

    if its the latter then its common (my opinion) to see notices, try a plugin named ‘theme check’ and see whats happening with most of the themes.

    Thread Starter allanlud

    (@allanlud)

    Sorry, I don’t think I mentioned exactly what is happening, after I hit Publish/Update a post the screen is blank (but the post still gets edited), and with WP DEBUG set as true it displays what errors are there.

    @esmi – I have just tried the twentyfourteen theme and as I set the theme the page went blank but the theme still activated and when edited a post it seemed to work ok – so looks like it is a theme issue. I didn’t install the theme and there have been many edits to the theme files so what do you think is the best approach to this?

    Where did you download this theme from?

    Thread Starter allanlud

    (@allanlud)

    Hi esmi, I didn’t download the theme, someone else downloaded and installed the theme.

    The thumbnail of the theme has The WRC Theme Viewer on it, if that rings a bell.

    On a side note it looks like the WordPress installation is causing a lot of errors on the server according to the error logs – possibly because of the theme.

    What is the name of the theme?

    Thread Starter allanlud

    (@allanlud)

    It looks like it was renamed to a short version of the website domain.

    The thumbnail looks a lot like the twentytwelve theme, but with no main navigation and the main image full width.

    @allan

    This may be an issue with your browser also, do you get the blank screen with 2014 using another browser?

    You can also post your url to see the theme maybe we’ll find more info this way.

    Site url?

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Cannot modify header information – Error’ is closed to new replies.