Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty Exception thrown #46

Open
circlecube opened this issue Apr 12, 2016 · 3 comments
Open

empty Exception thrown #46

circlecube opened this issue Apr 12, 2016 · 3 comments

Comments

@circlecube
Copy link

Fatal error: Uncaught exception 'Exception' in /Users/emullins/www/local.apppress.com/includes/Git_php/Git.php:317

Any ideas? I'd guess it's failing when prompted for a pw on the git user? But when I try to use an ssh key or put the pw in the origin url in my config I get the same.

@mcmyt
Copy link

mcmyt commented Jul 8, 2016

Have you found a fix for this issue ? I'm having the same one

@circlecube
Copy link
Author

circlecube commented Jul 8, 2016

I think it was failing because I hadn't set a git user. I had to set it in my git config, it was something like this:
exec('git config user.email "[email protected]"'); exec('git config user.name "User Name"');

The user needs to match the key.

@lisrec
Copy link

lisrec commented Oct 13, 2016

I have same exception at 317.
My repo is cloned via ssh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants