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

Error importing a github repository

dcyar opened this issue · comments

An error occurred when importing a repository in this route.

http://laravel-gitscrum.pub/wizard/step2

at HandleExceptions->handleError(8, 'Trying to get property of non-object', 'C:\\laragon\\www\\laravel-gitscrum\\app\\Classes\\Github.php', 210, array('branch' => 'Not Found', 'productBacklogId' => 2)) in Github.php (line 210)

I fixed this by changing Github.php (line 205) link
Helper::request('https://api.github.com/repos/'.$owner.DIRECTORY_SEPARATOR.$repo.'/branches?page='.$page)
to
Helper::request('https://api.github.com/repos/'.$owner.'/'.$repo.'/branches?page='.$page)

I use

  • PHP 7+
  • Windows 10
  • Laragon