Title: Easy FancyBox plugin error
Last modified: August 30, 2016

---

# Easy FancyBox plugin error

 *  Resolved [HomeroMx](https://wordpress.org/support/users/homeromx/)
 * (@homeromx)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/)
 * Hi…. If the plugin Easy FancyBox (v1.5.7, Created by RavanH) its active and the
   user its not logged in, this error its shown when try to open the home page:
 * **Warning:** Cannot modify header information – headers already sent by (output
   started at C:\xampp\htdocs\wp-content\plugins\easy-fancybox\easy-fancybox-class.
   php:154) in C:\xampp\htdocs\wp-includes\pluggable.php on line 1196
 * There is no problem when:
    – User already logged in. – **Easy Fancy Box** plugin
   has been disabled.
 * Thanks for your support. 🙂
 * [https://wordpress.org/plugins/jonradio-private-site/](https://wordpress.org/plugins/jonradio-private-site/)

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

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283740)
 * Never seen that error with Easy FancyBox before. There are no headers set in 
   easy-fancybox-class.php or anywhere else by that plugin.
 * What happens if you disable My Private Site?
 *  Thread Starter [HomeroMx](https://wordpress.org/support/users/homeromx/)
 * (@homeromx)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283787)
 * Yes, WordPress works with your plugin disabled and FancyBox enabled.
 * Thanks…
 *  Plugin Author [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * (@dgewirtz)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283893)
 * Hi Ravan, thanks for checking in. My Private Site has to fiddle with headers,
   so it’s probably some sort of conflict among our plugins. I haven’t used Easy
   Fancy Box, but I’ll take a look and get back to you.
 * –David
 *  Thread Starter [HomeroMx](https://wordpress.org/support/users/homeromx/)
 * (@homeromx)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283907)
 * Hi….
 * Sorry, I did not see who published the previous answer to my last comment.
 * Thank you both for your help.
 * HomeroMtz
 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283930)
 * [@david](https://wordpress.org/support/users/david/) – ok, I see that might be
   a problem. There is some script inserted in the header by Easy FancyBox. It does
   this with
 *     ```
       add_action('wp_head', array(__CLASS__, 'main_script'), 999);
       ```
   
 * when the class is instantiated. The class main_script method echoes the script
   snippet output as instructed on [https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head](https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head)
 *  Plugin Author [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * (@dgewirtz)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283941)
 * Yeah, I looked at it, too. I’m still too new to the code to be comfortable making
   changes (other than security fixes), so I think we may need to call this one 
   a temporary incompatibility until one of us can go in and make bigger changes.
 * –David

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

The topic ‘Easy FancyBox plugin error’ is closed to new replies.

 * ![](https://ps.w.org/jonradio-private-site/assets/icon-256x256.png?rev=3370795)
 * [My Private Site](https://wordpress.org/plugins/jonradio-private-site/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jonradio-private-site/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jonradio-private-site/)
 * [Active Topics](https://wordpress.org/support/plugin/jonradio-private-site/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jonradio-private-site/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jonradio-private-site/reviews/)

## Tags

 * [header information](https://wordpress.org/support/topic-tag/header-information/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 6 replies
 * 3 participants
 * Last reply from: [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/easy-fancybox-plugin-error/#post-6283941)
 * Status: resolved