
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:
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.
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 comment… read it below or add one }
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.