Title: PHP Errors when publishing
Last modified: August 30, 2016

---

# PHP Errors when publishing

 *  [RedDesertViolin](https://wordpress.org/support/users/reddesertviolin/)
 * (@reddesertviolin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-publishing/)
 * Whenever I try to publish the post or page I have the shortcode on I get these
   errors:
    Warning: Cannot modify header information – headers already sent by (
   output started at /home4/*******/public_html/wp-content/plugins/appointment-calendar/
   appointment-calendar-shortcode.php:154) in /home4/*******/public_html/wp-admin/
   post.php on line 237
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home4/*******/public_html/wp-content/plugins/appointment-calendar/appointment-
   calendar-shortcode.php:154) in /home4/*******/public_html/wp-includes/pluggable.
   php on line 1196
 * Any ideas?
 * [https://wordpress.org/plugins/appointment-calendar/](https://wordpress.org/plugins/appointment-calendar/)

Viewing 1 replies (of 1 total)

 *  [abhishek](https://wordpress.org/support/users/abhipathak/)
 * (@abhipathak)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-publishing/#post-6424185)
 * Hi RedDesertViolin,
 * This is commonly known as the “whitespace problem”.
    So plz delete your plugin
   directory ‘appointment calendar’ and again download fresh plugin zip folder from
   wordpress.org and extract and then paste it in your WordPress directory.
 * let me know did it work for you
 * Thanks
    Abhishek

Viewing 1 replies (of 1 total)

The topic ‘PHP Errors when publishing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/appointment-calendar.svg)
 * [Appointment Calendar](https://wordpress.org/plugins/appointment-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/appointment-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/appointment-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/appointment-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/appointment-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/appointment-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [abhishek](https://wordpress.org/support/users/abhipathak/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/php-errors-when-publishing/#post-6424185)
 * Status: not resolved