• Resolved sheilanagig

    (@sheilanagig)


    Hello,

    I’m unable to log into a blog I manage. When I try to access the admin I receive this error.

    Warning: Cannot modify header information – headers already sent by (output started at /nfs/c06/h04/mnt/93199/domains/[domain here]/html/wp-load.php:117) in /nfs/c06/h04/mnt/93199/domains/[domain here]/html/wp-includes/pluggable.php on line 1167

    I thought it might be an issue with a plugin, so I deactivated them all. But it didn’t solve the issue. What should I try next?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    You have unexpected whitespace (either a space or an entire line) on line 117 of the wp-load.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

    Thread Starter sheilanagig

    (@sheilanagig)

    Thanks! That worked. It was an entire line. I had to remove a line in wp-config.php as well. Appreciate your help.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    Hi James,
    I got this msg when Plugin upload and update
    Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-admin/includes/template.php:1995) in public_html/wp-includes/pluggable.php on line 1179

    Hi James,
    I also got a problem with Cannot modify header information
    Warning: Cannot modify header information – headers already sent by (output started at /home2/mgregorio22/public_html/makatisportsclub/wp-content/themes/betheme/functions/theme-functions.php:1) in /home2/mgregorio22/public_html/makatisportsclub/wp-includes/pluggable.php on line 1195

    I uploaded a plugin that causes this error but when I disable plugin and deleted it the problem still exist. Don’t know what to do next. I also cant login in my dashboard

    • This reply was modified 7 years, 5 months ago by dwarehado.

    I’m having very similar issues. I was making some changes to an existing WP install for a client who had an out-of-date WP install and theme and installed WPIDE, CONTACT FORM 7 & FLAMINGO plugins. Even with plugins deactivated I can’t access wp-admin either. I could really use some help sorting out what’s going on.

    in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Warning: Cannot modify header information - headers already sent by (output started at /home/websprin/public_html/wrus/wp-includes/functions.php:3703) in /home/websprin/public_html/wrus/wp-includes/pluggable.php on line 1167

    This is the ENTIRE DEBUG:

    Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3703 Notice: The called constructor method for WP_Widget in GoogleMapsWidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HubSpot_Action_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HubSpot_Social_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HubSpot_EmailSubscribe_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HWB_Single_Post is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HWB_Latests_Posts is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in HWB_US_Custom_Search is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in VisualFormBuilder_Pro_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in WP_Job_Manager_Widget_Recent_Jobs is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Callout is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Video is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Blog_Posts is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Slider_Generic is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Price_Table is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Price_Option is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Company_Logo is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Type is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Apply is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Company_Social is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Categories is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_More_Jobs is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Job_Share is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Jobs is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Jobs_Spotlight is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Jobs_Search is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Stats is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Map is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Resumes is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Resumes_Map is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Resume_Links is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Notice: The called constructor method for WP_Widget in Jobify_Widget_Resume_Categories is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/websprin/public_html/wrus/wp-includes/functions.php on line 3763 Warning: Cannot modify header information - headers already sent by (output started at /home/websprin/public_html/wrus/wp-includes/functions.php:3703) in /home/websprin/public_html/wrus/wp-includes/pluggable.php on line 1167
    • This reply was modified 7 years, 5 months ago by madphill.

    Case solved try to put this on the first line of wp-config.php file
    <?php ob_start();

    Similar issue after Responsive theme update followed by failed WP update …. cannot get into backend ??

    error from https://(mydomain/sub)/wp-admin/

    “Warning: Cannot modify header information – headers already sent by (output started at /websites/123reg/LinuxPackage22/al/lb/ri/(mydomain)/public_html/abc/wp-content/themes/responsive/core/includes/functions-admin.php:110) in /websites/123reg/LinuxPackage22/al/lb/ri/(mydomain)/public_html/abc/wp-includes/pluggable.php on line 1210”

    Do I need to edit my files manually through FTP or somesuch (All help appreciated – I’m a WP noob!)

    The post above from Dwarehado with <?php ob_start(); worked! The front end was loading up but the admin was not. after applying the “ob_start” session, all is good!

    I hope it helps more people.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can't log into admin — "Cannot modify header information" error’ is closed to new replies.