Title: Errors When Updating Post or Page
Last modified: August 21, 2016

---

# Errors When Updating Post or Page

 *  Resolved [thefinancialengineer](https://wordpress.org/support/users/thefinancialengineer/)
 * (@thefinancialengineer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/errors-when-updating-post-or-page/)
 * I get the following error log when I update a post or page:
 * Warning: fopen(/Users/tim/sites/_logs/log.txt): failed to open stream: No such
   file or directory in /home/thefineng/public_html/wp-content/plugins/wp-to-buffer/
   wp-to-buffer.php on line 198
 * Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/
   thefineng/public_html/wp-content/plugins/wp-to-buffer/wp-to-buffer.php on line
   199
 * Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/
   thefineng/public_html/wp-content/plugins/wp-to-buffer/wp-to-buffer.php on line
   200
 * Warning: fclose() expects parameter 1 to be resource, boolean given in /home/
   thefineng/public_html/wp-content/plugins/wp-to-buffer/wp-to-buffer.php on line
   201
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/thefineng/public_html/wp-content/plugins/wp-to-buffer/wp-to-buffer.php:
   198) in /home/thefineng/public_html/wp-admin/post.php on line 235
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/thefineng/public_html/wp-content/plugins/wp-to-buffer/wp-to-buffer.php:
   198) in /home/thefineng/public_html/wp-includes/pluggable.php on line 1121
 * Any ideas?
 * [https://wordpress.org/plugins/wp-to-buffer/](https://wordpress.org/plugins/wp-to-buffer/)

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

 *  [Daniel Milner](https://wordpress.org/support/users/danielmilner/)
 * (@danielmilner)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/errors-when-updating-post-or-page/#post-4890034)
 * I was having this same problem. It looks like some debugging code was accidentally
   left in this release. If you’re comfortable fixing it yourself, you can edit 
   the wp-to-buffer.php file. Make lines 197-201 look like this:
 *     ```
       // Do some logging for debugging
       //$fp = fopen('/Users/tim/sites/_logs/log.txt', 'w+');
       //fwrite($fp, print_r($defaults,true));
       //fwrite($fp, print_r($post,true));
       //fclose($fp);
       ```
   
 *  Thread Starter [thefinancialengineer](https://wordpress.org/support/users/thefinancialengineer/)
 * (@thefinancialengineer)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/errors-when-updating-post-or-page/#post-4890108)
 * Thank you – that fixed it.
 *  Plugin Contributor [Tim](https://wordpress.org/support/users/n7studios/)
 * (@n7studios)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-when-updating-post-or-page/#post-4890227)
 * This was resolved in 2.3.5

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

The topic ‘Errors When Updating Post or Page’ is closed to new replies.

 * ![](https://ps.w.org/wp-to-buffer/assets/icon-256x256.png?rev=2596326)
 * [Social Media Auto Poster - Schedule & Publish to Buffer](https://wordpress.org/plugins/wp-to-buffer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-to-buffer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-to-buffer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-to-buffer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-to-buffer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-to-buffer/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/n7studios/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/errors-when-updating-post-or-page/#post-4890227)
 * Status: resolved