Title: Whitespace causing issues
Last modified: September 1, 2016

---

# Whitespace causing issues

 *  Resolved [Andy Feliciotti](https://wordpress.org/support/users/someguy9/)
 * (@someguy9)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/)
 * I’m not sure if something glitched with my update but all of the files have an
   extra line at the end (after ?>) causing errors, I recommend just removing the?
   > from the ends of the files to fix this
 * [https://wordpress.org/plugins/uptime-robot-monitor/](https://wordpress.org/plugins/uptime-robot-monitor/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Aphotrax](https://wordpress.org/support/users/vlijmen/)
 * (@vlijmen)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/#post-7680463)
 * Hi Andy,
 * Could you please let me know what the error is that you recieved, it’s seems 
   a bit strange that you have to remove ?> from the files since that is the propper
   way to close a php file. To check if it was indeed a update glitch you could 
   try to download the zip manually and overwrite the plugin folder by uploading
   the files there.
 * Looking forward to your feedback.
 * Regards,
    Niels
 *  [Larry Lewis](https://wordpress.org/support/users/jenolan/)
 * (@jenolan)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/#post-7680469)
 * You have trailing new lines after the ?> at the bottom of each file, this causes
   a blank line to be emitted before header are sent and causes huge problems for
   other code.
 * Best practice is to never close the php code block so spurious new lines don’t
   break things!
 *  Plugin Author [Aphotrax](https://wordpress.org/support/users/vlijmen/)
 * (@vlijmen)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/#post-7680472)
 * Hi Larry,
 * I feel quite stupid now, thanks for the information. The changes are rolling 
   out now in v1.8.7.1
 * Regards, Niels
 *  Thread Starter [Andy Feliciotti](https://wordpress.org/support/users/someguy9/)
 * (@someguy9)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/#post-7680503)
 * Yeah php can be weird 😂 Thanks Aphotrax this plugin rocks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Whitespace causing issues’ is closed to new replies.

 * ![](https://ps.w.org/uptime-robot-monitor/assets/icon-128x128.png?rev=1499382)
 * [Uptime Robot Plugin for Wordpress](https://wordpress.org/plugins/uptime-robot-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uptime-robot-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uptime-robot-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/uptime-robot-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uptime-robot-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uptime-robot-monitor/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Andy Feliciotti](https://wordpress.org/support/users/someguy9/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/whitespace-causing-issues/#post-7680503)
 * Status: resolved