Title: Plugin PHP file causing Error Log entries
Last modified: September 18, 2019

---

# Plugin PHP file causing Error Log entries

 *  [nfable](https://wordpress.org/support/users/nfable/)
 * (@nfable)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-php-file-causing-error-log-entries/)
 * Hello, I have hundreds upon hundreds of warnings in my PHP.ERROR.LOG file:
 * HP Warning: Cannot modify header information – headers already sent by (output
   started at /home/public_html/wp-cron.php:23) in /home/neptunvs/public_html/wpdir/
   plugins/wpfront-notification-bar/classes/class-wpfront-notification-bar.php on
   line 63
 * My googling says that it may be extra space in the mentioned file, so I went 
   to edit class-wpfront-notification-bar.php on line 63 and saw there was an extra
   line in the PHP before the end of the document = empty space? Not sure if this
   is the cause, it’s the only thing I could ascertain.
 * Thank you for any help
 * [Reported here too I think](https://wordpress.org/support/topic/frequent-header-cookie-error-appearing-on-sentry/)

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

 *  [Norman Cates](https://wordpress.org/support/users/normancates/)
 * (@normancates)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/plugin-php-file-causing-error-log-entries/#post-12048446)
 * I am seeing the same error.
 * The error actually seems to think the problem comes from wp_cron.php at line 
   23
 * fastcgi_finish_request();
 * If I comment out that line, then the header problem goes away. So it seems to
   be an interaction with fast cgi and headers…
 * Although my understanding is that wp_cron.php should NOT be being called by plugins.
 * And if it is, then there’s a problem???
 *  [espressivo](https://wordpress.org/support/users/espressivo/)
 * (@espressivo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-php-file-causing-error-log-entries/#post-12446473)
 * Similar: Cannot modify header information – headers already sent in /home/primaryblissteac/
   public_html/wp-content/plugins/wpfront-notification-bar/classes/class-wpfront-
   notification-bar.php on line 63

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

The topic ‘Plugin PHP file causing Error Log entries’ is closed to new replies.

 * ![](https://ps.w.org/wpfront-notification-bar/assets/icon.svg?rev=1672432)
 * [WPFront Notification Bar](https://wordpress.org/plugins/wpfront-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpfront-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpfront-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpfront-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpfront-notification-bar/reviews/)

## Tags

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

 * 2 replies
 * 1 participant
 * Last reply from: [espressivo](https://wordpress.org/support/users/espressivo/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/plugin-php-file-causing-error-log-entries/#post-12446473)
 * Status: not resolved