Title: Shortcode is causing &#8220;Cannot modify header information&#8221; error
Last modified: July 9, 2021

---

# Shortcode is causing “Cannot modify header information” error

 *  Resolved [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-is-causing-cannot-modify-header-information-error/)
 * I’ve thoroughly checked the website in question, and this only affects a single
   page when it’s saved on the back end. The installation and all plugins are up-
   to-date, and there are no other plugin conflicts. All pages save without trouble,
   except the page with the calendar embedded through the plugin.
 * The shortcode is as follows:
 * [wpbs id=”1″ form=”1″ title=”no” legend=”yes” dropdown=”yes” start=”7″ display
   =”1″ language=”auto” history=”1″ tooltip=”1″ month=”0″ year=”0″ selection=”multiple”
   autopending=”no” weeknumbers=”no” minimumdays=”0″ formposition=”below”]
 * Removing this shortcode causes the page to update without problems; adding it
   back in causes the headers sent error.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Roland Murg](https://wordpress.org/support/users/murgroland/)
 * (@murgroland)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-is-causing-cannot-modify-header-information-error/#post-14642306)
 * Hey [@1db](https://wordpress.org/support/users/1db/) ,
 * Can you please send us an email at [support@wpbookingsystem.com](https://wordpress.org/support/topic/shortcode-is-causing-cannot-modify-header-information-error/support@wpbookingsystem.com?output_format=md)
   regarding this issue?
 * Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode is causing “Cannot modify header information” error’ is closed
to new replies.

 * ![](https://ps.w.org/wp-booking-system/assets/icon-256x256.gif?rev=2691961)
 * [WP Booking System - Booking Calendar](https://wordpress.org/plugins/wp-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-booking-system/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 1 reply
 * 2 participants
 * Last reply from: [Roland Murg](https://wordpress.org/support/users/murgroland/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/shortcode-is-causing-cannot-modify-header-information-error/#post-14642306)
 * Status: resolved