0
我正在使用Laravel 5.1处理项目,并试图实现Facebook API。由于我使用的:在作曲家需要后,ResetsPasswords.php中的FatalErrorException需要facebook php-sdk-v4
composer require facebook/php-sdk-v4
我在每一页上的ResetsPasswords.php错误:
FatalErrorException in ResetsPasswords.php line 21: syntax error, unexpected '}'
ResetsPasswords.php工作正常,并没有在所有的任何错误。 18-21行:
public function getEmail()
{
return view('auth.password')
}
我试图删除Facebook包。现在它告诉我在CMD中的以下信息:
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "C:\ProgramData\ComposerSetup\bin\composer.phar self-update" to get the latest version.
> php artisan clear-compiled
[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected '}'
Script php artisan clear-compiled handling the pre-update-cmd event returned with an 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>]...
我想它有一些应该与我的作曲家版本。但是我对作曲家并不是很有经验,在我真的弄糟它之前,我认为寻求一些帮助是不明智的。
所以,我真的很感激你的帮助,因为我不能在项目上工作,直到这个问题得到解决。
哇,好像它是不是在所有工作..谢谢 – APRZ