gitscrum-team / laravel-gitscrum

GitScrum is a Project Management Tool, developed to help entrepreneurs, freelancers, managers, and teams Skyrocket their Productivity with the Agile methodology and Gamification.

Home Page:https://site.gitscrum.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install failing on wizard/step1

opened this issue · comments

I'm running MacOS (10.12.6) and PHP 7.1.11. I followed the setup instructions exactly as listed for github. After the oAuth callback, I get the error Trying to get property of non-object on the wizard/step1 page. It is throwing the error for the $repo object that is getting passed in Github.php:line39. When I check what the $repo variable contains, it has a string Not Found. Any idea what is happening?

Go to github.php, and find line 205

Change:

$branches = collect(Helper::request('https://api.github.com/repos/'.$owner.DIRECTORY_SEPARATOR.$repo.'/branches?page='.$page));

To:

$branches = collect(Helper::request("https://api.github.com/repos/{$owner}/{$repo}/branches?page=$page"));