WordPress Problem wp-includes/pluggable.php on line 865 [Solved]

On with the customization of WordPress Thesis Theme by DiyTheme, for an internal task, I experienced a Warning: Cannot modify header information -Wordpress Problem wp-includes/pluggable.php on line 865 . Was a tough one to deal with, but it was solved. Screenshot of the error:

pluggable wordpress error thumb Wordpress Problem wp includes/pluggable.php on line 865 [Solved]

As we know that Thesis offers an efficient WordPress Blogging Experience, with powerful dealt backend, outstanding setup for SEO & Analytics, and it makes your layout stand out alone in the Web 2.0.

Thesis usually uses hooks, in order to alter the theme by means of designing and functionality. It is easy to move sidebars, change font and styles. It also allows you to integrate many other plugins and widgets, with the existing code.

We usually use custom.css file for designing the Style sheet and custom_functions.php for defining the hooks. When we require to customize thesis, we edit custom_functions.php, add a function, which is called by the hook at the runtime, or when page loads. Sometime, while coding we neglect some whitespaces either at the end of the program or at the beginning of the program, which can crash the Dashboard of wordpress (admin panel).

I found the similar error today while coding, and it made me aware of the fact, we should not ignore these whitespaces while coding the custom functions. I was alerted by the wordpress, with this message, (/wp-content/themes/thesis/custom/custom_functions.php:1), which defines that there is something conflicting at line number 1, which was due to the white spaces at the beginning of the program.

image thumb16 Wordpress Problem wp includes/pluggable.php on line 865 [Solved]

Luckily, it was resolved by editing the custom_functions.php file. The alternative measure for such issue is by removing the WordPress Theme using FTP, from wp-content/themes/thesis_16 directory. Once the theme is removed, the wordpress dashboard is available and another theme can activated.

In case of other plugin you can simply delete the theme using FTP and your problem will be resolved.

For any other queries or further assistance required, post comments as your feedbacks.

share on twitter

Comments

  1. Daniel says:

    Hi,
    I am having this problem on my site. Are you saying we just delete the space between line 1 and the next line with code? I have tried this but to no avail.

  2. Nick Duncan says:

    I had a major headache with this problem as well..

    Are you editing the file in notepad? I was, and it cause this error even if the file was BLANK. I figured that it might have to do with the way that notepad saves the file so I opened the custom_functions.php into an editor (Netbeans).. saved it.. and everything worked 100%

  3. Quavario says:

    Works wonderful! Thanks for your nice work!,lucy

  4. TheFidler says:

    Thanks for the post. It saved me a lot of time. There was one space at the beginning of the first line! I never would have figured that one out!

    Thanks again

  5. Kari Mitchell says:

    WONDERFUL post – thank you. As a ‘designer’ really, and not so much a ‘coder’ (but I am a bit handy with things) this was a GREAT help because I was having problems logging in and out, and with addons/widgets. I removed blank spaces between the PHP code in the functions.php file from the custom template, and it seems to have done the trick!

    Thanks so much!!

  6. Emma says:

    Thanks for the explanation. It worked for me. Thanks for your great work!

Leave a Reply

© 2009-2011 ThemePremium · All Rights Reserved
A threeroutes media Publication