WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Shortcode function causing white screen of death

[Resolved] Shortcode function causing white screen of death

  • Hi James,

    When saving the page that the Vegas Slider shortcode is on I get a white screen with “Warning: Cannot modify header information – headers already sent by (output started at mysite/public/wp-content/plugins/vegas-fullscreen-background-slider/index.php:226).

    I believe this is a result of echoing output in your vegasslider() shortcode function. According to the codex, you should never generate output in your function, but rather return it.

    I rewrote vegasslider() using return for myself and it cured the error. You’re welcome to it if you want it.

    Regards

    http://wordpress.org/extend/plugins/vegas-fullscreen-background-slider/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Shortcode function causing white screen of death’ is closed to new replies.