Title: Fatal Error After Adding &#039;Never Clear History&#039; Code
Last modified: August 21, 2016

---

# Fatal Error After Adding 'Never Clear History' Code

 *  Resolved [Brijesh Tejani](https://wordpress.org/support/users/brijeshtejani/)
 * (@brijeshtejani)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-after-adding-never-clear-history-code/)
 * I got a fatal error after I inserted the ‘never clear history’ code at the bottom
   of the index file of the plugin. I am new to WP as well as coding. So where am
   I supposed to insert it, if not in the index file?
 * [Fatal Error Screenshot](http://puu.sh/78CDl.png)
 * Thanks.
 * [https://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

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

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-after-adding-never-clear-history-code/#post-4643402)
 * That code only works for recen versions of PHP. Are you perhaps running an old
   version, like 5.2 or something?
 *  Thread Starter [Brijesh Tejani](https://wordpress.org/support/users/brijeshtejani/)
 * (@brijeshtejani)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-after-adding-never-clear-history-code/#post-4643423)
 * thanks for replying!
 * my current php version is 5.2.17
 * so is the code compatible with the version i have? and if not, then can i do 
   something about it? is there no other way to disable the ‘clear history’ option?
 * and i just saw the latest version is 5.5.8. i think its time i ask my host to
   update the php version from their end. 😐
 *  Thread Starter [Brijesh Tejani](https://wordpress.org/support/users/brijeshtejani/)
 * (@brijeshtejani)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-after-adding-never-clear-history-code/#post-4643502)
 * got the php version updated.. thanks!

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

The topic ‘Fatal Error After Adding 'Never Clear History' Code’ is closed to new
replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Brijesh Tejani](https://wordpress.org/support/users/brijeshtejani/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-after-adding-never-clear-history-code/#post-4643502)
 * Status: resolved