laravel-gitscrum icon indicating copy to clipboard operation
laravel-gitscrum copied to clipboard

Error when trying to sync repos

Open ElioMS opened this issue 8 years ago • 8 comments
trafficstars

Hello guys,

Having this error: htmlspecialchars() expects parameter 1 to be string, array given (View: /home/vagrant/Code/laravel-gitscrum/resources/views/wizard/step1.blade.php)

In this route:http://scrum.app/wizard/step1

First time using this adorable app so any ideas why is this happening to me?

Thanks.

ElioMS avatar Mar 22 '17 03:03 ElioMS

@ElioMS Hi! I have the same error! have you find a solution to solve it?

Thanks

Xipotera avatar Mar 23 '17 21:03 Xipotera

Not yet mate, still waiting for response :(

ElioMS avatar Mar 25 '17 06:03 ElioMS

Hi, I did a fix for that. Please check again.

renatomarinho avatar Mar 26 '17 10:03 renatomarinho

Hi, I did a git pull but still not working!

ElioMS avatar Mar 27 '17 03:03 ElioMS

@ElioMS @Xipotera In step1.blade.php and step2.blade.php change trans('GitScrum') to config('app.name').

jeremykenedy avatar Apr 07 '17 08:04 jeremykenedy

@jeremykenedy man i f**** love you!!! but now i having this error htmlspecialchars() expects parameter 1 to be string, object given (View: /home/vagrant/Code/laravel-gitscrum/resources/views/sprints/show.blade.php)

ElioMS avatar Apr 08 '17 02:04 ElioMS

@ElioMS The error is caused by carbon freaking out when it receives a null value.

This can be fixed easily by updating the calls to the methods.

Example: $list->weeks() would change to $list->scopeWeeks(date('Y-m-d'))

The methods are in SprintScope.php.

I have created a PR with the updates

jeremykenedy avatar Apr 09 '17 21:04 jeremykenedy

still same error

Bonobomagno avatar May 18 '17 10:05 Bonobomagno