WordPress.org

Forums

Mobile Theme Featured images for Jetpack
[resolved] Featured images do not display + Error in Settings (10 posts)

  1. David Venter
    Member
    Posted 1 year ago #

    Featured images aren't showing on my mobile theme and I see the following error in Jetpack Mobile settings:

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h05/mnt/159468/domains/davidventer.net/html/wp-admin/includes/template.php:1698) in /nfs/c05/h05/mnt/159468/domains/davidventer.net/html/wp-content/plugins/jetpack/class.jetpack.php on line 3902

    Warning: Cannot modify header information - headers already sent by (output started at /nfs/c05/h05/mnt/159468/domains/davidventer.net/html/wp-admin/includes/template.php:1698) in /nfs/c05/h05/mnt/159468/domains/davidventer.net/html/wp-includes/pluggable.php on line 896

    https://wordpress.org/plugins/jetpack-mobile-theme-featured-images/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you try to reinstall both Jetpack and the Featured Images plugin from scratch?

    If the problem persists, you'll want to check this Codex page to find out how to solve the issue:
    http://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent

  3. OopsComic
    Member
    Posted 1 year ago #

    I'm having a similar problem. I get the error:

    Warning: Cannot modify header information - headers already sent by (output started at path\blog\wp-includes\script-loader.php:1008) in path\blog\wp-content\plugins\jetpack\class.jetpack.php on line 3946

    Warning: Cannot modify header information - headers already sent by (output started at path\blog\wp-includes\script-loader.php:1008) in path\blog\wp-includes\pluggable.php on line 1121

    I tried looking for the files in question but I can't find a script-loader.php file in my FTP files. And class.jetpack.php, I found that file. Line 3946 looks like this:

    Line 3943 // Set a state variable
    Line 3944 if ( isset ( $key ) && isset( $value ) ) {
    Line 3945 $state[ $key ] = $value;
    Line 3946 setcookie( "jetpackState[$key]", $value, 0, $path, $domain );
    Line 3947 }
    Line 3948 }

    I couldn't find the <?php ... ?> tags for that section, where I need to look for the space before/after those tags.

    I've tried uninstalling Jetpack and Mobile Theme Featured images for Jetpack. Re-installing them inorder and following the directions in the read me file, but I get this error every time. Any advice is appreciated. Thanks!

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Could you look for such whitespace before or after the PHP tags on your site's wp-config.php file?

  5. OopsComic
    Member
    Posted 1 year ago #

    Looking through wp-config.php, I don't see any white space before the php beginning tag but I also don't see the php end tag. Is this what's causing the error?

  6. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    That file doesn't contain any closing PHP tag, so you should be ok.

    If you didn't find any space before the opening tag, could you try to deactivate all other plugins, one at a time, and let me know if you find a conflicting plugin?
    If that doesn't help, you might want to try to switching to one of the default themes for a few minutes, and let me know it it helps.

    Thanks!

  7. OopsComic
    Member
    Posted 1 year ago #

    I went in and deactivated all my plug-ins and still got this error

    Warning: Cannot modify header information - headers already sent by (output started at \wp-includes\class.wp-scripts.php:77) in \wp-content\plugins\jetpack\class.jetpack.php on line 3946

    Warning: Cannot modify header information - headers already sent by (output started at \wp-includes\class.wp-scripts.php:77) in \wp-includes\pluggable.php on line 1121

    I'm not sure where to go from there... Is it compatible with ComicEasel and Comicpress?

  8. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Is it compatible with ComicEasel and Comicpress?

    Yes, you can use Jetpack, the Mobile Featured Images plugin, and Comicpress and ComicEasel. There shouldn't be any compatibility issues.

    The first part of the error message tells you where the whitespace is, as explained here:
    http://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent

    Could you try to reinstall WordPress from scratch, or replace the files mentioned in the different error messages you received:
    wp-includes/class.wp-scripts.php
    wp-includes/script-loader.php

  9. OopsComic
    Member
    Posted 1 year ago #

    I tried reinstalling WordPress from scratch and I'm still getting the errors. I have no idea why. The error messages point to line of code that don't have the <?php tags in them nor are there blank spaces on the lines mentioned.

    This time on got this error again:

    Warning: Cannot modify header information - headers already sent by (output started at path\blog\wp-includes\script-loader.php:1008) in path\blog\wp-content\plugins\jetpack\class.jetpack.php on line 3946

    Warning: Cannot modify header information - headers already sent by (output started at path\blog\wp-includes\script-loader.php:1008) in path\blog\wp-includes\pluggable.php on line 1121

    For wp-includes\script-loader.php:1008, the code look like this
    echo $wp_styles->print_html;

  10. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    I'd suggest going through the steps here to solve the issue:
    http://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Mobile Theme Featured images for Jetpack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.