WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Try to update setting and get this error (4 posts)

  1. roenator
    Member
    Posted 1 year ago #

    I am trying to update settings in different areas and as it is saving it will suddenly go to this error page:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 881

    I was working on setting up featured images before this happened so that I could use the Dynamic Content Gallery plug-in to display images on my homepage. I have not been messing with any code in the pluggable.php file. What's happening??

  2. roenator
    Member
    Posted 1 year ago #

    I logged out and got this mess of errors:

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-login.php on line 362

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-login.php on line 374

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 697

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 698

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 699

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 700

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 701

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 702

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 705

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 706

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 707

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 708

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 711

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 712

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 713

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 714

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/09/4264109/html/wordpress_2/wp-content/themes/custom2/functions.php:15) in /home/content/09/4264109/html/wordpress_2/wp-includes/pluggable.php on line 881

  3. roenator
    Member
    Posted 1 year ago #

    But I didn't actually get logged out. All I did was add add_theme_support( 'post-thumbnails' ); to the functions.php file in my theme. Even if I take the code away I still get the errors. I don't know what's happening but it surely isn't a good thing.

  4. roenator
    Member
    Posted 1 year ago #

    Alright, I redid the code for the functions.php and everything works fine now. Not sure what happened.

Topic Closed

This topic has been closed to new replies.

About this Topic