Level 1
the problem was a wrong class name in the SessionController.php
class SesssionsController extends Controller
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
im training with the Laravel 5.4 From Scratch: Associating With Users: Part 2 tutorial.
Now i have a Problem and cant find the Bug. When i visit /logout i get a 500 Error without any Error Messages.
Here my Files:
Routing: web.php https://pastebin.com/xVWS1UYm
Controller: SessionController.php https://pastebin.com/CBgEJiFh
I hope someone can help me :).
Best regards
the problem was a wrong class name in the SessionController.php
class SesssionsController extends Controller
Please or to participate in this conversation.