Support » Plugin: WP Vegas » Shortcode function causing white screen of death

  • ResolvedPlugin Contributor max_Q

    (@max_q)


    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 ‘Shortcode function causing white screen of death’ is closed to new replies.