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

by Aky Joe on January 18, 2010

Thesis Theme

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

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

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.

Related posts:

  1. WordPress memory Size Allocate problem in http.php line 1327 [Solved]
  2. Installing php.ini in Bluehost Webhosting Server
  3. How To Highlight Author Comments In WordPress
  4. WordPress Random Posts With Custom Code
  5. WordPress Security: Restrict wp-content and wp-includes on wordpress using htaccess

Wpfreelancer

{ 4 comments… read them below or add one }

Daniel February 4, 2010 at 1:28 am

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.

Reply

Nick Duncan April 19, 2010 at 3:38 pm

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%

Reply

Quavario May 19, 2010 at 9:57 am

Works wonderful! Thanks for your nice work!,lucy

Reply

TheFidler July 24, 2010 at 12:18 am

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

Reply

Leave a Comment

Previous post:

Next post:

.