WordPress.org

Ready to get started?Download WordPress

Forums

WP Vegas
[resolved] Shortcode function causing white screen of death (3 posts)

  1. max_Q
    Member
    Plugin Contributor

    Posted 9 months ago #

    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/

  2. jamesdbruner
    Member
    Plugin Author

    Posted 8 months ago #

    Would you mind sharing your solution with me? My email is jamesdbruner@gmail.com

  3. max_Q
    Member
    Plugin Contributor

    Posted 8 months ago #

    Sure, it's on it's way.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.