Hexlet / hexlet-sicp

Hexlet SICP
https://sicp.hexlet.io
GNU Affero General Public License v3.0
105 stars 134 forks source link

Error: Call to a member function update() on null #522

Closed fey closed 3 years ago

fey commented 4 years ago
Error: Call to a member function update() on null
1
File "/app/vendor/laracasts/flash/src/Laracasts/Flash/FlashNotifier.php", line 112
2
File "/app/vendor/laracasts/flash/src/Laracasts/Flash/FlashNotifier.php", line 92 in Laracasts\Flash\FlashNotifier::updateLastMessage
3
File "/app/vendor/laracasts/flash/src/Laracasts/Flash/FlashNotifier.php", line 66 in Laracasts\Flash\FlashNotifier::message
4
File "/app/app/Http/Controllers/Auth/Social/GithubController.php", line 89 in Laracasts\Flash\FlashNotifier::error
5
File "/app/app/Http/Controllers/Auth/Social/GithubController.php", line 44 in App\Http\Controllers\Auth\Social\GithubController::sendFailedResponse
+7 non-project frames
13
File "/app/vendor/mcamara/laravel-localization/src/Mcamara/LaravelLocalization/Middleware/LaravelLocalizationRedirectFilter.php", line 45 in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}
+21 non-project frames
35
File "/app/vendor/fideloper/proxy/src/TrustProxies.php", line 57 in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}
+12 non-project frames
48
File "/app/public/index.php", line 55 in Illuminate\Foundation\Http\Kernel::handle
fey commented 4 years ago

Вероятно из-за каких-то настроек Гитхаб не возвращает пользователя. Необходимо возвращать флеш сообщение о том, чтобы проверили свои настройки приватности в гитхабе.