i cannot access my wordpress blog admin panel for site http://www.abadhotels.com/blog/ The admin panel was accessible before. now when i try to access the admin panel instead of redirecting to the login page its shows a message "Warning: Cannot modify header information - headers already sent by (output started at /home/abadhote/public_html/blog/wp-includes/category-template.php:1) in /home/abadhote/public_html/blog/wp-includes/pluggable.php on line 1207" i tried to login in chrome and firfox but still no use Please check it outenter image description here
Asked
Active
Viewed 98 times
-1
-
Can you try to clear your cache and delete all cookies from your browsers? – cgee Oct 29 '15 at 09:29
-
yes i did but still i cant access – Seoabad Oct 29 '15 at 09:38
-
try to remove echo and print statement before header. – Deepak saini Oct 29 '15 at 09:52
-
i sorry but can you be more specific , coz i dont know much – Seoabad Oct 29 '15 at 10:01
-
Possible duplicate of [PHP & Wordpress: headers already sent - what to do?](http://stackoverflow.com/questions/3285608/php-wordpress-headers-already-sent-what-to-do) – Alessandro Da Rugna Oct 29 '15 at 10:09
1 Answers
1
Look like you have an empty line or blank white space in category-template.php before <?php
remove all blank white spaces before <?php
and try again.

Behind the screen
- 71
- 1
- 5
- 16
-
-
Have you recently updated or added any plugin? if yes remove it then try. – Behind the screen Oct 29 '15 at 09:50
-
i tried renaming the plugin folder(plugins deactivate) but didn't worked. the last thing i did was posting an article in my blog and it was working properly then – Seoabad Oct 29 '15 at 09:54
-
check your wp-config.php file, there should not be blank space before `` – Behind the screen Oct 29 '15 at 10:07
-
Or you need to double check the category-template.php for blank spaces. There should be some blank spaces – Behind the screen Oct 29 '15 at 10:09
-
-
i founf the blank space and corrected it . now another file is showing Warning: Cannot modify header information - headers already sent by (output started at /home/abadhote/public_html/blog/wp-includes/functions.wp-styles.php:1) in /home/abadhote/public_html/blog/wp-includes/pluggable.php on line 1207 but i cheked tat file but i didnt find the spaces – Seoabad Oct 29 '15 at 10:44