Title: error message when editing php
Last modified: August 21, 2016

---

# error message when editing php

 *  Resolved [Adam Silverstein](https://wordpress.org/support/users/adamsilverstein/)
 * (@adamsilverstein)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-message-when-editing-php/)
 * Editing a CSS file was great, and the revisions integration is brilliant. The
   only issue I found was it was hard to find my changes way down in a long file,
   I wish I could toggle the ‘same’ parts off and just see the changes, ideally 
   with a little surrounding context to understand what/where they are.
 * when i tried updating the header.php file, I got the following error message:
 * Notice: Use of undefined constant PHP_BINARY – assumed ‘PHP_BINARY’ in …/wp-content/
   plugins/code-revisions/inc/class-code-revisions-editors.php on line 301
 * Warning: Cannot modify header information – headers already sent by (output started
   at …/wp-content/plugins/code-revisions/inc/class-code-revisions-editors.php:301)
   in …/wp-includes/pluggable.php on line 901
 * Same result on other php pages, even saving with no changes. Going back to the
   previous page and reloading I find that my change was saved and revisions are
   displayed.
 * [http://wordpress.org/plugins/code-revisions/](http://wordpress.org/plugins/code-revisions/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Adam Silverstein](https://wordpress.org/support/users/adamsilverstein/)
 * (@adamsilverstein)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-when-editing-php/#post-4139494)
 * Thanks for fixing this!

Viewing 1 replies (of 1 total)

The topic ‘error message when editing php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/code-revisions_f1f1f1.svg)
 * [Code Revisions](https://wordpress.org/plugins/code-revisions/)
 * [Support Threads](https://wordpress.org/support/plugin/code-revisions/)
 * [Active Topics](https://wordpress.org/support/plugin/code-revisions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-revisions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-revisions/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Adam Silverstein](https://wordpress.org/support/users/adamsilverstein/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-when-editing-php/#post-4139494)
 * Status: resolved