• Resolved HomeroMx

    (@homeromx)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    (@homeromx)

    Yes, WordPress works with your plugin disabled and FancyBox enabled.

    Thanks…

    Plugin Author David Gewirtz

    (@dgewirtz)

    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

    (@homeromx)

    Hi….

    Sorry, I did not see who published the previous answer to my last comment.

    Thank you both for your help.

    HomeroMtz

    @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

    Plugin Author David Gewirtz

    (@dgewirtz)

    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.