The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Code Revisions
[resolved] error message when editing php (2 posts)

  1. Adam Silverstein
    Posted 2 years ago #

    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.


  2. Adam Silverstein
    Posted 2 years ago #

    Thanks for fixing this!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Code Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.