Title: Error on activation
Last modified: August 22, 2016

---

# Error on activation

 *  [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/)
 * I was mistakenly copy pasting bitbucket URL I think (without repo strings) into
   the remote repository tab, and got the following error:
 * Warning: exec() [function.exec]: Unable to fork [git rev-parse –show-toplevel]
   in /nfs/c06/h05/mnt/186167/domains/komunitastaufan.org/html/wp-content/plugins/
   revisr/includes/class-revisr-git.php on line 180
 * Warning: exec() [function.exec]: Unable to fork [git rev-parse –abbrev-ref HEAD]
   in /nfs/c06/h05/mnt/186167/domains/komunitastaufan.org/html/wp-content/plugins/
   revisr/includes/class-revisr-git.php on line 386
 * It won’t go away even after deleting and reactivating Revisr. Any clue?
 * [https://wordpress.org/plugins/revisr/](https://wordpress.org/plugins/revisr/)

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

 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405399)
 * Hello,
 * How was the repository created? Are you able to create a commit or do anything
   else?
 * Did the error only appear after entering the Bitbucket URL? And if so, did you
   get the “Success!” message indicating that the URL was valid?
 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405404)
 * Also, where is the “.git” directory in relation to the WordPress install? Is 
   it also in the ‘html’ directory?
 * Let me know, thanks!
 *  Thread Starter [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405405)
 * I created the repository on BitBucket.
 * I haven’t tried doing a commit, but I have another site on the same server/hosting.
   Error appears on activating the plugin.
 * I just remembered… that I am able to choose different version of PHP for sites
   I hosted on my server (MediaTemple Grid), and just noticed that for the site 
   where the plugin ran just fine, the PHP was CGI (stable) v5.3.29, so, while the
   site where plugin activation churned out error was using PHP FastCGI v5.3.29.
 * I also tried switching to PHP CGI v5.5.17 and Revisr seems to be working fine.
   So, the error probably has something todo with FastCGI?
 * Hope this helps you identify root cause and fix the bug.
 *  Thread Starter [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405407)
 * .git directory is on the root directory, same level with wp-admin directory, 
   inside html directory.
 *  Plugin Author [Expanded Fronts](https://wordpress.org/support/users/expandedfronts/)
 * (@expandedfronts)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405408)
 * Thanks, I’ll look into this further. There was someone else who had an issue 
   with FastCGI, and my main testing machine uses FastCGI, and I was unable to replicate
   with FastCGI and PHP v5.5.10
 * I also ran unit tests on both v5.3 and v5.4 and it runs fine on those without
   FastCGI enabled.
 * So it seems to me that it’s a specific version of PHP and FastCGI combined that’s
   causing the issue. I’ll spin up a machine with FastCGI and PHP v5.3 and keep 
   you posted.
 *  Thread Starter [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405410)
 * Looks like it. Thanks for testing further!
 * For now, I’m switching my PHP to v5.5.17 CGI, which I’ve just learned, takes 
   about half the memory compared to v5.4 and v5.3, which is great for my shared
   hosting environment. Revisr is running great it seems.

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

The topic ‘Error on activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/revisr_ecf0f1.svg)
 * [Revisr](https://wordpress.org/plugins/revisr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/revisr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/revisr/)
 * [Active Topics](https://wordpress.org/support/plugin/revisr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/revisr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/revisr/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/error-on-activation-28/#post-5405410)
 * Status: not resolved