• I get this on install with the latest version of WordPress (3.5):

    WARNING: wp-admin/admin-header.php:9 – Cannot modify header information – headers already sent by (output started at /Users/hal/Documents/ArtFiles/web/Locality/coppercity/wp-content/plugins/easy-fancybox/easy-fancybox.php:351)

    NOTICE: wp-content/plugins/easy-fancybox/easy-fancybox.php:351 – Undefined index: id

    http://ww.wp.xz.cn/extend/plugins/easy-fancybox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jeromin

    (@jerominrebatet)

    It means you used the header() function, but not correclty.
    But we need to see some code to help you 🙂

    Generally, the pb doesn’t come from the plugin or library.
    Can we see the admin-header.php ?
    And what’s that file :/ ? which theme ?

    regards

    Thread Starter Gabriel Luethje

    (@fstop)

    admin-header.php is a WP core file, so I doubt there is an issue there. Take a look at /wp-admin/admin-header.php in any current WordPress install to see the code there.

    I tested the plugin with a clean WP install and Twenty Eleven default theme and still got the error when I activated the plugin, so I’m fairly sure the issue is with the plugin.

    this is with define('WP_DEBUG', true); in wp-config.php

    Install the latest dev version if you want to get rid of the notices which in turn cause the Headers already sent warning… Get it from http://ww.wp.xz.cn/extend/plugins/easy-fancybox/developers/ under Other Versions.

    Or just set WP_DEBUG to false 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Warning & notice’ is closed to new replies.