FatalErrorException in ResetsPasswords.php after composer require facebook php-sdk-v4 -


i'm working on project laravel 5.1 , tried implement facebook api. since used:

composer require facebook/php-sdk-v4     

i'm having error in resetspasswords.php on every page:

fatalerrorexception in resetspasswords.php line 21: syntax error, unexpected '}' 

resetspasswords.php working fine , not having errors @ all. line 18-21:

public function getemail() {     return view('auth.password') } 

i tried remove facebook package. it's telling me following information in cmd:

warning: development build of composer on 60 days old. recommended update running "c:\programdata\composersetup\bin\composer.phar self-update" latest version. > php artisan clear-compiled  [symfony\component\debug\exception\fatalerrorexception] syntax error, unexpected '}'  script php artisan clear-compiled handling pre-update-cmd event returned error  [runtimeexception] error output:  remove [--dev] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]... 

i guess have due composer version. i'm not experienced composer , before make mess of it, think it's not unwise ask help.

so appreciate help, cannot work on project untill problem solved.

you forget ; :

return view('auth.password'); 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -