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

  1. max_Q
    Plugin Contributor

    Posted 3 years 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.



  2. jamesdbruner
    Plugin Author

    Posted 3 years ago #

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

  3. max_Q
    Plugin Contributor

    Posted 3 years ago #

    Sure, it's on it's way.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Vegas
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.